2020-04-06 16:37:18 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE (`email`='t31@t31.pt') AND (`id` > 100)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:240
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:244
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:244
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `user` (`name`, `email`, `password`, `type`, `terms_conditions_agreement`, `updated_by`, `active`, `created_on`) VALUES ('T 31', 't31@t31.pt', '341054ef5158e72a30f40345b9d77da00c9a2653', 'client', NOW(), 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:255
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE (`vat_number`='65465465') AND (`fk_country_id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:259
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:259
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:259
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `country` WHERE `country`.`id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:275
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `user` WHERE `user`.`id`=29)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:275
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::execute] UPDATE `client` SET `fk_user_id`=29, `vat_exempt`=0 WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:275
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:280
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:280
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE `code`=''
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:303
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=14)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:303
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='1')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:303
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `sale` (`fk_consultant_id`, `fk_client_id`, `fk_productversion_id`, `value_license`, `value_cost`, `value_payed`, `value_promocode`, `payment_reference`, `invoice_number`, `status`, `updated_by`, `created_on`) VALUES (1, 14, 1, '359', '359.00', '441.57', '0', '65465465#20200406', '#To Be Issued', 'pending', 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:303
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:306
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:306
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:306
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:308
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:308
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE 0=1
    in /home/fmm/work/dpo/portal/components/Calculus.php:60
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:311
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:314
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=28)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:314
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `accountmovement` WHERE `fk_consultant_id`=1 ORDER BY `id` DESC
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:85
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:92
    in /home/fmm/work/dpo/portal/models/Accountmovement.php:170
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `accountmovement` (`fk_consultant_id`, `fk_sale_id`, `type`, `value`, `date`, `description`, `updated_by`, `created_on`, `balance`) VALUES (1, 28, 'credit', '0', NOW(), 'Sale to t31', 1, NOW(), '0')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:314
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=28)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:329
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `license` (`fk_sale_id`, `type`, `subdomain`, `language_code`, `cypher_key`, `valid_until`, `max_users`, `allows_scheduling`, `allows_analysis`, `allows_integration`, `disk_space`, `updated_by`, `created_on`) VALUES (28, 'new', 't31', 'PT', 'PT65465465', '2021-04-07', 1, 0, 0, 0, 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:329
2020-04-06 16:37:18 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
]

$_POST = [
    '_csrf' => 'dxhG-W6D5lzVNYORtdw8zqvFn9k4fB2rgc_aWRR4mc4tQhScKfmeGOdS192A6HT_0oqvklwmVefQqepoRRnNiQ=='
    'ProductSignupStep3Form' => [
        'promo_code' => ''
    ]
    'CreditCardForm' => [
        'number' => '5017670000001812'
        'ccv' => '123'
        'expire_month' => '12'
        'expire_year' => '2020'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#25
        (
            [0] => yii\validators\RequiredValidator#26
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#27
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#28
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#29
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#30
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#31
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#32
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#33
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#34
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#35
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#37
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#38
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#39
        (
            [0] => yii\validators\RequiredValidator#40
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#41
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#42
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#43
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#45
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#46
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#47
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#48
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Ocorreu um erro ao tentar processar o pedido de pagamento. Por favor tente mais tarde ou contacte-nos.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '314'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54438'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191038.672
    'REQUEST_TIME' => 1586191038
]
2020-04-06 16:37:18 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:363
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:363
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:363
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=29
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:365
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:365
2020-04-06 16:37:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:365
2020-04-06 16:37:18 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Ocorreu um erro ao tentar processar o pedido de pagamento. Por favor tente mais tarde ou contacte-nos.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54438'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191038.941
    'REQUEST_TIME' => 1586191038
]
2020-04-06 16:38:58 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:38:58 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:38:58 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:38:58 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:38:58 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:38:58 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:38:58 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:38:58 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:38:58 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:38:58 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Ocorreu um erro ao tentar processar o pedido de pagamento. Por favor tente mais tarde ou contacte-nos.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54464'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191138.286
    'REQUEST_TIME' => 1586191138
]
2020-04-06 16:39:16 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:39:16 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:39:16 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:39:16 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:39:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:39:16 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:39:16 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:39:16 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:39:16 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:39:16 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Ocorreu um erro ao tentar processar o pedido de pagamento. Por favor tente mais tarde ou contacte-nos.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54480'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191156.073
    'REQUEST_TIME' => 1586191156
]
2020-04-06 16:39:50 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:39:50 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:39:50 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:39:50 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:39:50 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:39:50 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:39:50 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:39:50 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:39:50 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:39:50 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Ocorreu um erro ao tentar processar o pedido de pagamento. Por favor tente mais tarde ou contacte-nos.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54494'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191190.491
    'REQUEST_TIME' => 1586191190
]
2020-04-06 16:40:03 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:03 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:03 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:03 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:03 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:03 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:03 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:03 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:03 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:03 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191203.292
    'REQUEST_TIME' => 1586191203
]
2020-04-06 16:40:04 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:04 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:04 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:04 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:04 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:04 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:04 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:04 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:04 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:04 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191204.22
    'REQUEST_TIME' => 1586191204
]
2020-04-06 16:40:05 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:05 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:05 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:05 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:05 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:05 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:05 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:05 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:05 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:05 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191205.138
    'REQUEST_TIME' => 1586191205
]
2020-04-06 16:40:06 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:06 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:06 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:06 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:06 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:06 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:06 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:06 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:06 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:06 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191206.008
    'REQUEST_TIME' => 1586191206
]
2020-04-06 16:40:06 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:06 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:06 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:06 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:06 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:06 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:06 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:06 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:06 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:06 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191206.846
    'REQUEST_TIME' => 1586191206
]
2020-04-06 16:40:07 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:07 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:07 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:07 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:07 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:07 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:07 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:07 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:07 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:07 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191207.673
    'REQUEST_TIME' => 1586191207
]
2020-04-06 16:40:08 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:08 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:08 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:08 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:08 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:08 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:08 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:08 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:08 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:08 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191208.515
    'REQUEST_TIME' => 1586191208
]
2020-04-06 16:40:09 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:09 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:09 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:09 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:09 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:09 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:09 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:09 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:09 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:09 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191209.409
    'REQUEST_TIME' => 1586191209
]
2020-04-06 16:40:11 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:11 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:11 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:11 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:11 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:11 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:11 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:11 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:11 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:11 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191211.005
    'REQUEST_TIME' => 1586191211
]
2020-04-06 16:40:11 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:11 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:11 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:11 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:11 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:11 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:11 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:11 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:11 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:11 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191211.812
    'REQUEST_TIME' => 1586191211
]
2020-04-06 16:40:12 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:12 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:12 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:12 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191212.689
    'REQUEST_TIME' => 1586191212
]
2020-04-06 16:40:13 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:13 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:13 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:13 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:13 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:13 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:13 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:13 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:13 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:13 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191213.508
    'REQUEST_TIME' => 1586191213
]
2020-04-06 16:40:14 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:14 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:14 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:14 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:14 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:14 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:14 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:14 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:14 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:14 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191214.34
    'REQUEST_TIME' => 1586191214
]
2020-04-06 16:40:15 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:15 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:15 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:15 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:15 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:15 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:15 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:15 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:15 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:15 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191215.171
    'REQUEST_TIME' => 1586191215
]
2020-04-06 16:40:15 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:15 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:15 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:15 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:15 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:15 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:15 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:15 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:15 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:15 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191215.987
    'REQUEST_TIME' => 1586191215
]
2020-04-06 16:40:16 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:16 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:16 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:16 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:16 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:16 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:16 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:16 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:16 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191216.814
    'REQUEST_TIME' => 1586191216
]
2020-04-06 16:40:17 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:17 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:17 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:17 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:17 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:17 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:17 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:17 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:17 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:17 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191217.704
    'REQUEST_TIME' => 1586191217
]
2020-04-06 16:40:18 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:18 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:18 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191218.536
    'REQUEST_TIME' => 1586191218
]
2020-04-06 16:40:19 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:19 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:19 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:19 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:19 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:19 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:19 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:19 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:19 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:19 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191219.364
    'REQUEST_TIME' => 1586191219
]
2020-04-06 16:40:20 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:20 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:20 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:20 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:20 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:20 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:20 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:20 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:20 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191220.222
    'REQUEST_TIME' => 1586191220
]
2020-04-06 16:40:21 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:21 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:21 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:21 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:21 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=28 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:21 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:21 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:21 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:21 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:21 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54506'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191221.114
    'REQUEST_TIME' => 1586191221
]
2020-04-06 16:40:43 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-06 16:40:43 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-06 16:40:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-06 16:40:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-06 16:40:43 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 28
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 29
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:37:18'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 29
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '341054ef5158e72a30f40345b9d77da00c9a2653'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:37:18'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:37:18'
                            'updated_on' => '2020-04-06 17:37:18'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep2&pid=1&back=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54682'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191243.824
    'REQUEST_TIME' => 1586191243
]
2020-04-06 16:40:53 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE (`email`='t31@t31.pt') AND (`id` > 100)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:240
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:244
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:244
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `user` (`name`, `email`, `password`, `type`, `terms_conditions_agreement`, `updated_by`, `active`, `created_on`) VALUES ('T 31', 't31@t31.pt', 'f689910620186f72ed7f99218c50dc5a58c1cf09', 'client', NOW(), 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:255
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE (`vat_number`='65465465') AND (`fk_country_id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:259
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:259
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:259
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `country` WHERE `country`.`id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:275
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `user` WHERE `user`.`id`=30)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:275
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::execute] UPDATE `client` SET `fk_user_id`=30, `vat_exempt`=0 WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:275
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:280
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:280
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE `code`=''
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:303
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=14)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:303
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='1')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:303
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `sale` (`fk_consultant_id`, `fk_client_id`, `fk_productversion_id`, `value_license`, `value_cost`, `value_payed`, `value_promocode`, `payment_reference`, `invoice_number`, `status`, `updated_by`, `created_on`) VALUES (1, 14, 1, '359', '359.00', '441.57', '0', '65465465#20200406', '#To Be Issued', 'pending', 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:303
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:306
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:306
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:306
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:308
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:308
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE 0=1
    in /home/fmm/work/dpo/portal/components/Calculus.php:60
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:311
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:314
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=29)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:314
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `accountmovement` WHERE `fk_consultant_id`=1 ORDER BY `id` DESC
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:85
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:92
    in /home/fmm/work/dpo/portal/models/Accountmovement.php:170
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `accountmovement` (`fk_consultant_id`, `fk_sale_id`, `type`, `value`, `date`, `description`, `updated_by`, `created_on`, `balance`) VALUES (1, 29, 'credit', '0', NOW(), 'Sale to t31', 1, NOW(), '0')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:314
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=29)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:329
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `license` (`fk_sale_id`, `type`, `subdomain`, `language_code`, `cypher_key`, `valid_until`, `max_users`, `allows_scheduling`, `allows_analysis`, `allows_integration`, `disk_space`, `updated_by`, `created_on`) VALUES (29, 'new', 't31', 'PT', 'PT65465465', '2021-04-07', 1, 0, 0, 0, 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:329
2020-04-06 16:40:53 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
]

$_POST = [
    '_csrf' => '9_dLHiG1ujd-2Q9cG_lbx-qlbHPi7LkTkGZjMyQTzHqtrRl7Zs_Cc0y-WxAuzRP2k-pcOIa28V_BAFMCdXKYPQ=='
    'ProductSignupStep3Form' => [
        'promo_code' => ''
    ]
    'CreditCardForm' => [
        'number' => '50176700000018123'
        'ccv' => '123'
        'expire_month' => '12'
        'expire_year' => '2020'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#25
        (
            [0] => yii\validators\RequiredValidator#26
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#27
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#28
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#29
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#30
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#31
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#32
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#33
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#34
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#35
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#37
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#38
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#39
        (
            [0] => yii\validators\RequiredValidator#40
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#41
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#42
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#43
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#45
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#46
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#47
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#48
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '315'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54692'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191253.46
    'REQUEST_TIME' => 1586191253
]
2020-04-06 16:40:53 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:362
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:363
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:363
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:363
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=30
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:364
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:365
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:365
2020-04-06 16:40:53 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:365
2020-04-06 16:40:53 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54692'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191253.543
    'REQUEST_TIME' => 1586191253
]
2020-04-06 16:43:57 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:43:57 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:57 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:57 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:57 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:57 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:57 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:57 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:43:57 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:43:57 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191437.659
    'REQUEST_TIME' => 1586191437
]
2020-04-06 16:43:58 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:43:58 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:58 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:58 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:58 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:58 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:58 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:58 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:43:58 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:43:58 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191438.582
    'REQUEST_TIME' => 1586191438
]
2020-04-06 16:43:59 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:43:59 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:59 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:59 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:59 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:59 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:59 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:43:59 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:43:59 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:43:59 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191439.406
    'REQUEST_TIME' => 1586191439
]
2020-04-06 16:44:00 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:00 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:00 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:00 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:00 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:00 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:00 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:00 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:00 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:00 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191440.189
    'REQUEST_TIME' => 1586191440
]
2020-04-06 16:44:01 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:01 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:01 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191441.043
    'REQUEST_TIME' => 1586191441
]
2020-04-06 16:44:01 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:01 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:01 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191441.96
    'REQUEST_TIME' => 1586191441
]
2020-04-06 16:44:03 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:03 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:03 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:03 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:03 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:03 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:03 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:03 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:03 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:03 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191443.687
    'REQUEST_TIME' => 1586191443
]
2020-04-06 16:44:04 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:04 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:04 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:04 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:04 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:04 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:04 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:04 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:04 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:04 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191444.541
    'REQUEST_TIME' => 1586191444
]
2020-04-06 16:44:05 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:05 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:05 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:05 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:05 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:05 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:05 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:05 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:05 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:05 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191445.361
    'REQUEST_TIME' => 1586191445
]
2020-04-06 16:44:06 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:06 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:06 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:06 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:06 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:06 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:06 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:06 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:06 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:06 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191446.182
    'REQUEST_TIME' => 1586191446
]
2020-04-06 16:44:07 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:07 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:07 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:07 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:07 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:07 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:07 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:07 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:07 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:07 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191447.105
    'REQUEST_TIME' => 1586191447
]
2020-04-06 16:44:07 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:07 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:07 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:07 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:07 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:07 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:07 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:07 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:07 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:07 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191447.934
    'REQUEST_TIME' => 1586191447
]
2020-04-06 16:44:08 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:08 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:08 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:08 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:08 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:08 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:08 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:08 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:08 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:08 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191448.844
    'REQUEST_TIME' => 1586191448
]
2020-04-06 16:44:09 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:09 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:09 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:09 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:09 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:09 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:09 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:09 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:09 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:09 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191449.774
    'REQUEST_TIME' => 1586191449
]
2020-04-06 16:44:10 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:10 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:10 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:10 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:10 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:10 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:10 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:10 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:10 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:10 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191450.693
    'REQUEST_TIME' => 1586191450
]
2020-04-06 16:44:11 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:11 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:11 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:11 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:11 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:11 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:11 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:11 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:11 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:11 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191451.624
    'REQUEST_TIME' => 1586191451
]
2020-04-06 16:44:12 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:12 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:12 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:12 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191452.505
    'REQUEST_TIME' => 1586191452
]
2020-04-06 16:44:13 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:13 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:13 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:13 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:13 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:13 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:13 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:13 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:13 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:13 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191453.358
    'REQUEST_TIME' => 1586191453
]
2020-04-06 16:44:14 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:14 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:14 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:14 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:14 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:14 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:14 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:14 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:14 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:14 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191454.272
    'REQUEST_TIME' => 1586191454
]
2020-04-06 16:44:15 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:15 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:15 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:15 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:15 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:15 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:15 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:15 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:15 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:15 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191455.193
    'REQUEST_TIME' => 1586191455
]
2020-04-06 16:44:16 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:16 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:16 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:16 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:16 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:16 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:44:16 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:16 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:16 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54730'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191456.122
    'REQUEST_TIME' => 1586191456
]
2020-04-06 16:44:33 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:33 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:33 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:33 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:33 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:33 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:33 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:33 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:33 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54904'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191473.4
    'REQUEST_TIME' => 1586191473
]
2020-04-06 16:44:34 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:34 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:34 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:34 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:34 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:34 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:34 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:34 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:34 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:34 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54904'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191474.248
    'REQUEST_TIME' => 1586191474
]
2020-04-06 16:44:35 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:35 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:35 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:35 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:35 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:35 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:35 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:35 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:35 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:35 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54904'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191475.164
    'REQUEST_TIME' => 1586191475
]
2020-04-06 16:44:36 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:36 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:36 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:36 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:36 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:36 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:36 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:36 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:36 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:36 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54904'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191476.081
    'REQUEST_TIME' => 1586191476
]
2020-04-06 16:44:37 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:37 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:37 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:37 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:37 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:37 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:37 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:37 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:37 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:37 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54904'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191477.756
    'REQUEST_TIME' => 1586191477
]
2020-04-06 16:44:38 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:38 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:38 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:38 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:38 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:38 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:38 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:38 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:38 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:38 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54904'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191478.542
    'REQUEST_TIME' => 1586191478
]
2020-04-06 16:44:40 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:40 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:40 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:40 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:40 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:40 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:40 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:40 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:40 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:40 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191480.567
    'REQUEST_TIME' => 1586191480
]
2020-04-06 16:44:41 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:41 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:41 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:41 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:41 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:41 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:41 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:41 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:41 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:41 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191481.412
    'REQUEST_TIME' => 1586191481
]
2020-04-06 16:44:42 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:42 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:42 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191482.331
    'REQUEST_TIME' => 1586191482
]
2020-04-06 16:44:43 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:43 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:43 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191483.245
    'REQUEST_TIME' => 1586191483
]
2020-04-06 16:44:44 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:44 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:44 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:44 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:44 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:44 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:44 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:44 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:44 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:44 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191484.174
    'REQUEST_TIME' => 1586191484
]
2020-04-06 16:44:45 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:45 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:45 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:45 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:45 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:45 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:45 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:45 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:45 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:45 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191485.096
    'REQUEST_TIME' => 1586191485
]
2020-04-06 16:44:46 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:46 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:46 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:45 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191485.998
    'REQUEST_TIME' => 1586191485
]
2020-04-06 16:44:46 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:46 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:46 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:46 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191486.839
    'REQUEST_TIME' => 1586191486
]
2020-04-06 16:44:47 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:47 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:47 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:47 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:47 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:47 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:47 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:47 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:47 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:47 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191487.756
    'REQUEST_TIME' => 1586191487
]
2020-04-06 16:44:48 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:48 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:48 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:48 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:48 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:48 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:48 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:48 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:48 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:48 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191488.674
    'REQUEST_TIME' => 1586191488
]
2020-04-06 16:44:49 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:49 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:49 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191489.581
    'REQUEST_TIME' => 1586191489
]
2020-04-06 16:44:50 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:50 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:50 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:50 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:50 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:50 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:50 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:50 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:50 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:50 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191490.39
    'REQUEST_TIME' => 1586191490
]
2020-04-06 16:44:51 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:51 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:51 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:51 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:51 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:51 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:51 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:51 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:51 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:51 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191491.227
    'REQUEST_TIME' => 1586191491
]
2020-04-06 16:44:52 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:52 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:52 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:52 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:52 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:52 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:52 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:52 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:52 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:52 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191492.056
    'REQUEST_TIME' => 1586191492
]
2020-04-06 16:44:52 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:52 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:52 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:52 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:52 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:52 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:52 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:52 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:52 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:52 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191492.979
    'REQUEST_TIME' => 1586191492
]
2020-04-06 16:44:54 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:54 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:54 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:54 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:54 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:54 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:54 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:54 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:54 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:54 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191494.482
    'REQUEST_TIME' => 1586191494
]
2020-04-06 16:44:55 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:55 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:55 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:55 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:55 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:55 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:55 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:55 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:55 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:55 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191495.313
    'REQUEST_TIME' => 1586191495
]
2020-04-06 16:44:56 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:56 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:56 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:56 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:56 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:56 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:56 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:56 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:56 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:56 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191496.156
    'REQUEST_TIME' => 1586191496
]
2020-04-06 16:44:57 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:57 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:57 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:57 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:57 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:57 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:57 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:57 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:57 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:57 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191497.081
    'REQUEST_TIME' => 1586191497
]
2020-04-06 16:44:57 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:57 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:57 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:57 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:57 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:57 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:57 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:57 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:57 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:57 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191497.927
    'REQUEST_TIME' => 1586191497
]
2020-04-06 16:44:58 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:44:58 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:58 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:58 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:58 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=29 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:58 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:58 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:44:58 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:58 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-06 16:44:58 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191498.813
    'REQUEST_TIME' => 1586191498
]
2020-04-06 16:45:01 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:45:01 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep2&pid=1&back=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54954'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191501.908
    'REQUEST_TIME' => 1586191501
]
2020-04-06 16:45:12 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:45:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:45:12 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:45:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:45:12 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:45:12 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep2&pid=1&back=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55128'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191512.563
    'REQUEST_TIME' => 1586191512
]
2020-04-06 16:45:17 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:45:17 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:45:17 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:45:17 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:45:17 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:45:17 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 29
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 30
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:40:53'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 30
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'f689910620186f72ed7f99218c50dc5a58c1cf09'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:40:53'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:40:53'
                            'updated_on' => '2020-04-06 17:40:53'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep2&pid=1&back=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55136'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191517.905
    'REQUEST_TIME' => 1586191517
]
2020-04-06 16:45:30 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE (`email`='t31@t31.pt') AND (`id` > 100)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:243
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:247
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:247
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `user` (`name`, `email`, `password`, `type`, `terms_conditions_agreement`, `updated_by`, `active`, `created_on`) VALUES ('T 31', 't31@t31.pt', 'bf4be51d62ae45f5543b7ee42948a18a216e45fb', 'client', NOW(), 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:258
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE (`vat_number`='65465465') AND (`fk_country_id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:262
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:262
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:262
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `country` WHERE `country`.`id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:278
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `user` WHERE `user`.`id`=31)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:278
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::execute] UPDATE `client` SET `fk_user_id`=31, `vat_exempt`=0 WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:278
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:283
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:283
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:287
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:287
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE `code`=''
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:287
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:306
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=14)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:306
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='1')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:306
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `sale` (`fk_consultant_id`, `fk_client_id`, `fk_productversion_id`, `value_license`, `value_cost`, `value_payed`, `value_promocode`, `payment_reference`, `invoice_number`, `status`, `updated_by`, `created_on`) VALUES (1, 14, 1, '359', '359.00', '441.57', '0', '65465465#20200406', '#To Be Issued', 'pending', 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:306
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:309
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:309
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:309
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:311
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:311
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE 0=1
    in /home/fmm/work/dpo/portal/components/Calculus.php:60
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:314
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:317
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=30)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:317
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `accountmovement` WHERE `fk_consultant_id`=1 ORDER BY `id` DESC
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:85
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:92
    in /home/fmm/work/dpo/portal/models/Accountmovement.php:170
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `accountmovement` (`fk_consultant_id`, `fk_sale_id`, `type`, `value`, `date`, `description`, `updated_by`, `created_on`, `balance`) VALUES (1, 30, 'credit', '0', NOW(), 'Sale to t31', 1, NOW(), '0')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:317
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:321
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:321
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=30)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:332
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `license` (`fk_sale_id`, `type`, `subdomain`, `language_code`, `cypher_key`, `valid_until`, `max_users`, `allows_scheduling`, `allows_analysis`, `allows_integration`, `disk_space`, `updated_by`, `created_on`) VALUES (30, 'new', 't31', 'PT', 'PT65465465', '2021-04-07', 1, 0, 0, 0, 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:332
2020-04-06 16:45:30 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
]

$_POST = [
    '_csrf' => '7-Dx1Jf0NQmxvoAmobtKDW7QR6mXKa5S2xNqY8oBLX61uqOx0I5NTYPZ1GqUjwI8F5934vNz5h6KdVpSm2B5OQ=='
    'ProductSignupStep3Form' => [
        'promo_code' => ''
    ]
    'CreditCardForm' => [
        'number' => '5017670000001812'
        'ccv' => '123'
        'expire_month' => '12'
        'expire_year' => '2020'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 30
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 30
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#25
        (
            [0] => yii\validators\RequiredValidator#26
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#27
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#28
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#29
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#30
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#31
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#32
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#33
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#34
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#35
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#37
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#38
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#39
        (
            [0] => yii\validators\RequiredValidator#40
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#41
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#42
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#43
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#45
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#46
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#47
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#48
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '314'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55156'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191530.32
    'REQUEST_TIME' => 1586191530
]
2020-04-06 16:45:30 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:365
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:365
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:365
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=30 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:365
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:365
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:365
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=31
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:45:30 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:45:30 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 30
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 30
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 31
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:45:30'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 31
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:45:30'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 31
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'bf4be51d62ae45f5543b7ee42948a18a216e45fb'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:45:30'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:45:30'
                            'updated_on' => '2020-04-06 17:45:30'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 31
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'bf4be51d62ae45f5543b7ee42948a18a216e45fb'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:45:30'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:45:30'
                            'updated_on' => '2020-04-06 17:45:30'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55156'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191530.424
    'REQUEST_TIME' => 1586191530
]
2020-04-06 16:45:31 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:45:31 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:45:31 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:45:31 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:45:31 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:45:31 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 30
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 30
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 31
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:45:30'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 31
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:45:30'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 31
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'bf4be51d62ae45f5543b7ee42948a18a216e45fb'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:45:30'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:45:30'
                            'updated_on' => '2020-04-06 17:45:30'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 31
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'bf4be51d62ae45f5543b7ee42948a18a216e45fb'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:45:30'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:45:30'
                            'updated_on' => '2020-04-06 17:45:30'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55156'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191531.286
    'REQUEST_TIME' => 1586191531
]
2020-04-06 16:47:23 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE (`email`='t31@t31.pt') AND (`id` > 100)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:244
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `user` (`name`, `email`, `password`, `type`, `terms_conditions_agreement`, `updated_by`, `active`, `created_on`) VALUES ('T 31', 't31@t31.pt', '1bc2fd86d90f9dba36348510936caa13067a0af7', 'client', NOW(), 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:259
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE (`vat_number`='65465465') AND (`fk_country_id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `country` WHERE `country`.`id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `user` WHERE `user`.`id`=32)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::execute] UPDATE `client` SET `fk_user_id`=32, `vat_exempt`=0 WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE `code`=''
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=14)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='1')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `sale` (`fk_consultant_id`, `fk_client_id`, `fk_productversion_id`, `value_license`, `value_cost`, `value_payed`, `value_promocode`, `payment_reference`, `invoice_number`, `status`, `updated_by`, `created_on`) VALUES (1, 14, 1, '359', '359.00', '441.57', '0', '65465465#20200406', '#To Be Issued', 'pending', 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE 0=1
    in /home/fmm/work/dpo/portal/components/Calculus.php:60
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:315
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=31)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `accountmovement` WHERE `fk_consultant_id`=1 ORDER BY `id` DESC
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:85
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:92
    in /home/fmm/work/dpo/portal/models/Accountmovement.php:170
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `accountmovement` (`fk_consultant_id`, `fk_sale_id`, `type`, `value`, `date`, `description`, `updated_by`, `created_on`, `balance`) VALUES (1, 31, 'credit', '0', NOW(), 'Sale to t31', 1, NOW(), '0')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=31)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `license` (`fk_sale_id`, `type`, `subdomain`, `language_code`, `cypher_key`, `valid_until`, `max_users`, `allows_scheduling`, `allows_analysis`, `allows_integration`, `disk_space`, `updated_by`, `created_on`) VALUES (31, 'new', 't31', 'PT', 'PT65465465', '2021-04-07', 1, 0, 0, 0, 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-06 16:47:23 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = [
    '_csrf' => 'qiYuCzZqrgNUlR0RRiB9BAZMSNCJeO6fv6-c06fVB2LwfHxucRDWR2bySV1zFDU1fwN4m-0iptPuyazi9rRTJQ=='
    'ProductSignupStep3Form' => [
        'promo_code' => ''
    ]
    'CreditCardForm' => [
        'number' => '5017670000001812'
        'ccv' => '123'
        'expire_month' => '12'
        'expire_year' => '2020'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 31
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 31
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#25
        (
            [0] => yii\validators\RequiredValidator#26
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#27
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#28
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#29
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#30
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#31
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#32
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#33
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#34
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#35
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#37
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#38
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#39
        (
            [0] => yii\validators\RequiredValidator#40
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#41
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#42
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#43
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#45
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#46
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#47
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#48
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '314'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55196'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191643.723
    'REQUEST_TIME' => 1586191643
]
2020-04-06 16:47:23 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=31 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=32
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:47:23 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:47:23 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 31
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 31
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 32
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:47:23'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 32
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:47:23'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 32
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '1bc2fd86d90f9dba36348510936caa13067a0af7'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:47:23'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:47:23'
                            'updated_on' => '2020-04-06 17:47:23'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 32
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '1bc2fd86d90f9dba36348510936caa13067a0af7'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:47:23'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:47:23'
                            'updated_on' => '2020-04-06 17:47:23'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55196'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191643.808
    'REQUEST_TIME' => 1586191643
]
2020-04-06 16:47:24 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:47:24 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:47:24 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:47:24 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:47:24 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:47:24 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 31
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 31
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 32
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:47:23'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 32
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:47:23'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 32
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '1bc2fd86d90f9dba36348510936caa13067a0af7'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:47:23'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:47:23'
                            'updated_on' => '2020-04-06 17:47:23'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 32
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '1bc2fd86d90f9dba36348510936caa13067a0af7'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:47:23'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:47:23'
                            'updated_on' => '2020-04-06 17:47:23'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '5017670000001812'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
                1 => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55196'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191644.687
    'REQUEST_TIME' => 1586191644
]
2020-04-06 16:47:46 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:47:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:47:46 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:47:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:47:46 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:47:46 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE (`email`='t31@t31.pt') AND (`id` > 100)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:244
2020-04-06 16:47:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-06 16:47:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-06 16:47:46 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `user` (`name`, `email`, `password`, `type`, `terms_conditions_agreement`, `updated_by`, `active`, `created_on`) VALUES ('T 31', 't31@t31.pt', '1bc2fd86d90f9dba36348510936caa13067a0af7', 'client', NOW(), 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:259
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE (`vat_number`='65465465') AND (`fk_country_id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `country` WHERE `country`.`id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `user` WHERE `user`.`id`=33)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::execute] UPDATE `client` SET `fk_user_id`=33, `vat_exempt`=0 WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE `code`=''
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=14)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='1')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `sale` (`fk_consultant_id`, `fk_client_id`, `fk_productversion_id`, `value_license`, `value_cost`, `value_payed`, `value_promocode`, `payment_reference`, `invoice_number`, `status`, `updated_by`, `created_on`) VALUES (1, 14, 1, '359', '359.00', '441.57', '0', '65465465#20200406', '#To Be Issued', 'pending', 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE 0=1
    in /home/fmm/work/dpo/portal/components/Calculus.php:60
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:315
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=32)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `accountmovement` WHERE `fk_consultant_id`=1 ORDER BY `id` DESC
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:85
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:92
    in /home/fmm/work/dpo/portal/models/Accountmovement.php:170
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `accountmovement` (`fk_consultant_id`, `fk_sale_id`, `type`, `value`, `date`, `description`, `updated_by`, `created_on`, `balance`) VALUES (1, 32, 'credit', '0', NOW(), 'Sale to t31', 1, NOW(), '0')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=32)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `license` (`fk_sale_id`, `type`, `subdomain`, `language_code`, `cypher_key`, `valid_until`, `max_users`, `allows_scheduling`, `allows_analysis`, `allows_integration`, `disk_space`, `updated_by`, `created_on`) VALUES (32, 'new', 't31', 'PT', 'PT65465465', '2021-04-07', 1, 0, 0, 0, 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-06 16:47:46 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = [
    '_csrf' => 'hkJ1w8ch4HI2K9ZCEQsE2cm66GNTFmcQE2wjXNI0iFfcGCemgFuYNgRMgg4kP0zosPXYKDdML1xCChNtg1XcEA=='
    'ProductSignupStep3Form' => [
        'promo_code' => ''
    ]
    'CreditCardForm' => [
        'number' => '5017670000001800'
        'ccv' => '145'
        'expire_month' => '12'
        'expire_year' => '2020'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 32
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 32
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#25
        (
            [0] => yii\validators\RequiredValidator#26
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#27
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#28
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#29
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#30
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#31
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#32
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#33
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#34
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#35
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#37
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#38
    (
        [number] => '5017670000001800'
        [ccv] => '145'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#39
        (
            [0] => yii\validators\RequiredValidator#40
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#41
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#42
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#43
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#45
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#46
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#47
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#48
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '314'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55216'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191666.827
    'REQUEST_TIME' => 1586191666
]
2020-04-06 16:47:49 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=32 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=33
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:47:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:47:50 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:418
2020-04-06 16:47:50 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=14)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:418
2020-04-06 16:47:50 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='1')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:418
2020-04-06 16:47:50 [::1][-][-][info][yii\db\Command::execute] UPDATE `sale` SET `payment_processor_reference`='000073881' WHERE `id`=32
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:418
2020-04-06 16:47:49 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 32
            'payment_processor_reference' => '000073881'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 32
            'payment_processor_reference' => '000073881'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 33
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:47:49'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 33
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:47:49'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 33
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '1bc2fd86d90f9dba36348510936caa13067a0af7'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:47:46'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:47:46'
                            'updated_on' => '2020-04-06 17:47:46'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 33
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '1bc2fd86d90f9dba36348510936caa13067a0af7'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:47:46'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:47:46'
                            'updated_on' => '2020-04-06 17:47:46'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55216'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191669.21
    'REQUEST_TIME' => 1586191669
]
2020-04-06 16:50:32 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:50:32 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:32 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:32 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:32 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:32 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 32
            'payment_processor_reference' => '000073881'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 32
            'payment_processor_reference' => '000073881'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 33
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:47:49'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 33
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:47:49'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 33
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '1bc2fd86d90f9dba36348510936caa13067a0af7'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:47:46'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:47:46'
                            'updated_on' => '2020-04-06 17:47:46'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 33
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '1bc2fd86d90f9dba36348510936caa13067a0af7'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:47:46'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:47:46'
                            'updated_on' => '2020-04-06 17:47:46'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55254'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191832.817
    'REQUEST_TIME' => 1586191832
]
2020-04-06 16:50:42 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE (`email`='t31@t31.pt') AND (`id` > 100)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:244
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `user` (`name`, `email`, `password`, `type`, `terms_conditions_agreement`, `updated_by`, `active`, `created_on`) VALUES ('T 31', 't31@t31.pt', '8518f67d90c85f7ca067c96c1ffc57b745931c9a', 'client', NOW(), 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:259
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE (`vat_number`='65465465') AND (`fk_country_id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `country` WHERE `country`.`id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `user` WHERE `user`.`id`=34)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::execute] UPDATE `client` SET `fk_user_id`=34, `vat_exempt`=0 WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE `code`=''
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=14)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='1')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `sale` (`fk_consultant_id`, `fk_client_id`, `fk_productversion_id`, `value_license`, `value_cost`, `value_payed`, `value_promocode`, `payment_reference`, `invoice_number`, `status`, `updated_by`, `created_on`) VALUES (1, 14, 1, '359', '359.00', '441.57', '0', '65465465#20200406', '#To Be Issued', 'pending', 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE 0=1
    in /home/fmm/work/dpo/portal/components/Calculus.php:60
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:315
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=33)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `accountmovement` WHERE `fk_consultant_id`=1 ORDER BY `id` DESC
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:85
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:92
    in /home/fmm/work/dpo/portal/models/Accountmovement.php:170
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `accountmovement` (`fk_consultant_id`, `fk_sale_id`, `type`, `value`, `date`, `description`, `updated_by`, `created_on`, `balance`) VALUES (1, 33, 'credit', '0', NOW(), 'Sale to t31', 1, NOW(), '0')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=33)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `license` (`fk_sale_id`, `type`, `subdomain`, `language_code`, `cypher_key`, `valid_until`, `max_users`, `allows_scheduling`, `allows_analysis`, `allows_integration`, `disk_space`, `updated_by`, `created_on`) VALUES (33, 'new', 't31', 'PT', 'PT65465465', '2021-04-07', 1, 0, 0, 0, 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-06 16:50:42 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = [
    '_csrf' => 'XWxqoBSgnsCX8HKWDugYFe-MBN28lg6Bo9pXbdIcf2UHNjjFU9rmhKWXJto73FAklsM0ltjMRs3yvGdcg30rIg=='
    'ProductSignupStep3Form' => [
        'promo_code' => ''
    ]
    'CreditCardForm' => [
        'number' => '50176700000018123'
        'ccv' => '123'
        'expire_month' => '12'
        'expire_year' => '2020'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 33
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 33
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#25
        (
            [0] => yii\validators\RequiredValidator#26
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#27
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#28
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#29
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#30
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#31
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#32
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#33
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#34
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#35
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#37
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#38
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => null
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#39
        (
            [0] => yii\validators\RequiredValidator#40
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#41
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#42
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#43
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#45
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#46
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#47
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#48
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '315'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55266'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191842.286
    'REQUEST_TIME' => 1586191842
]
2020-04-06 16:50:42 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=33 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=34
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:50:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:50:42 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 33
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 33
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 34
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:50:42'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 34
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:50:42'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 34
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '8518f67d90c85f7ca067c96c1ffc57b745931c9a'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:50:42'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:50:42'
                            'updated_on' => '2020-04-06 17:50:42'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 34
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '8518f67d90c85f7ca067c96c1ffc57b745931c9a'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:50:42'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:50:42'
                            'updated_on' => '2020-04-06 17:50:42'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => null
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique-os e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55266'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191842.37
    'REQUEST_TIME' => 1586191842
]
2020-04-06 16:50:43 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:50:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:43 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:43 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 33
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 33
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 34
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:50:42'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 34
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:50:42'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 34
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '8518f67d90c85f7ca067c96c1ffc57b745931c9a'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:50:42'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:50:42'
                            'updated_on' => '2020-04-06 17:50:42'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 34
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '8518f67d90c85f7ca067c96c1ffc57b745931c9a'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:50:42'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:50:42'
                            'updated_on' => '2020-04-06 17:50:42'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => null
                1 => 'Os valores estão incorretos. Por favor verifique-os e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique-os e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55266'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191843.306
    'REQUEST_TIME' => 1586191843
]
2020-04-06 16:50:46 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE (`email`='t31@t31.pt') AND (`id` > 100)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:244
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `user` (`name`, `email`, `password`, `type`, `terms_conditions_agreement`, `updated_by`, `active`, `created_on`) VALUES ('T 31', 't31@t31.pt', '8518f67d90c85f7ca067c96c1ffc57b745931c9a', 'client', NOW(), 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:259
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE (`vat_number`='65465465') AND (`fk_country_id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `country` WHERE `country`.`id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `user` WHERE `user`.`id`=35)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::execute] UPDATE `client` SET `fk_user_id`=35, `vat_exempt`=0 WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE `code`=''
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=14)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='1')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `sale` (`fk_consultant_id`, `fk_client_id`, `fk_productversion_id`, `value_license`, `value_cost`, `value_payed`, `value_promocode`, `payment_reference`, `invoice_number`, `status`, `updated_by`, `created_on`) VALUES (1, 14, 1, '359', '359.00', '441.57', '0', '65465465#20200406', '#To Be Issued', 'pending', 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE 0=1
    in /home/fmm/work/dpo/portal/components/Calculus.php:60
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:315
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=34)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `accountmovement` WHERE `fk_consultant_id`=1 ORDER BY `id` DESC
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:85
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:92
    in /home/fmm/work/dpo/portal/models/Accountmovement.php:170
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `accountmovement` (`fk_consultant_id`, `fk_sale_id`, `type`, `value`, `date`, `description`, `updated_by`, `created_on`, `balance`) VALUES (1, 34, 'credit', '0', NOW(), 'Sale to t31', 1, NOW(), '0')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=34)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `license` (`fk_sale_id`, `type`, `subdomain`, `language_code`, `cypher_key`, `valid_until`, `max_users`, `allows_scheduling`, `allows_analysis`, `allows_integration`, `disk_space`, `updated_by`, `created_on`) VALUES (34, 'new', 't31', 'PT', 'PT65465465', '2021-04-07', 1, 0, 0, 0, 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-06 16:50:46 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = [
    '_csrf' => 'jVFdRXZFFgI1j-ws_5WxklKipUppYEcvgEypjEvvObvXCw8gMT9uRgfouGDKofmjK-2VAQ06D2PRKpm9Go5t_A=='
    'ProductSignupStep3Form' => [
        'promo_code' => ''
    ]
    'CreditCardForm' => [
        'number' => '50176700000018123'
        'ccv' => '123'
        'expire_month' => '12'
        'expire_year' => '2020'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 34
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 34
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#25
        (
            [0] => yii\validators\RequiredValidator#26
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#27
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#28
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#29
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#30
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#31
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#32
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#33
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#34
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#35
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#37
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#38
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => 'Os valores estão incorretos. Por favor verifique-os e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#39
        (
            [0] => yii\validators\RequiredValidator#40
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#41
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#42
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#43
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#45
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#46
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#47
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#48
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique-os e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '315'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55286'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191846.228
    'REQUEST_TIME' => 1586191846
]
2020-04-06 16:50:46 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=34 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=35
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:50:46 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:50:46 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 34
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 34
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 35
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:50:46'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 35
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:50:46'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 35
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '8518f67d90c85f7ca067c96c1ffc57b745931c9a'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:50:46'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:50:46'
                            'updated_on' => '2020-04-06 17:50:46'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 35
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '8518f67d90c85f7ca067c96c1ffc57b745931c9a'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:50:46'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:50:46'
                            'updated_on' => '2020-04-06 17:50:46'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => 'Os valores estão incorretos. Por favor verifique-os e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique-os e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55286'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191846.3
    'REQUEST_TIME' => 1586191846
]
2020-04-06 16:50:47 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:50:47 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:47 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:47 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:47 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:47 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 34
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 34
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 35
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:50:46'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 35
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:50:46'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 35
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '8518f67d90c85f7ca067c96c1ffc57b745931c9a'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:50:46'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:50:46'
                            'updated_on' => '2020-04-06 17:50:46'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 35
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '8518f67d90c85f7ca067c96c1ffc57b745931c9a'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:50:46'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:50:46'
                            'updated_on' => '2020-04-06 17:50:46'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => 'Os valores estão incorretos. Por favor verifique-os e tente novamente.'
                1 => 'Os valores estão incorretos. Por favor verifique-os e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique-os e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55286'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191847.189
    'REQUEST_TIME' => 1586191847
]
2020-04-06 16:50:58 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE (`email`='t31@t31.pt') AND (`id` > 100)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:244
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `user` (`name`, `email`, `password`, `type`, `terms_conditions_agreement`, `updated_by`, `active`, `created_on`) VALUES ('T 31', 't31@t31.pt', '8518f67d90c85f7ca067c96c1ffc57b745931c9a', 'client', NOW(), 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:259
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE (`vat_number`='65465465') AND (`fk_country_id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `country` WHERE `country`.`id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `user` WHERE `user`.`id`=36)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::execute] UPDATE `client` SET `fk_user_id`=36, `vat_exempt`=0 WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:50:58 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE `code`=''
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=14)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='1')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `sale` (`fk_consultant_id`, `fk_client_id`, `fk_productversion_id`, `value_license`, `value_cost`, `value_payed`, `value_promocode`, `payment_reference`, `invoice_number`, `status`, `updated_by`, `created_on`) VALUES (1, 14, 1, '359', '359.00', '441.57', '0', '65465465#20200406', '#To Be Issued', 'pending', 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE 0=1
    in /home/fmm/work/dpo/portal/components/Calculus.php:60
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:315
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=35)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `accountmovement` WHERE `fk_consultant_id`=1 ORDER BY `id` DESC
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:85
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:92
    in /home/fmm/work/dpo/portal/models/Accountmovement.php:170
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `accountmovement` (`fk_consultant_id`, `fk_sale_id`, `type`, `value`, `date`, `description`, `updated_by`, `created_on`, `balance`) VALUES (1, 35, 'credit', '0', NOW(), 'Sale to t31', 1, NOW(), '0')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=35)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `license` (`fk_sale_id`, `type`, `subdomain`, `language_code`, `cypher_key`, `valid_until`, `max_users`, `allows_scheduling`, `allows_analysis`, `allows_integration`, `disk_space`, `updated_by`, `created_on`) VALUES (35, 'new', 't31', 'PT', 'PT65465465', '2021-04-07', 1, 0, 0, 0, 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-06 16:50:58 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = [
    '_csrf' => 'sxTDwaNSV8fb925R30NKz2FEKUyI2TyWW1GQw5G8j3npTpGk5Cgvg-mQOh3qdwL-GAsZB-yDdNoKN6DywN3bPg=='
    'ProductSignupStep3Form' => [
        'promo_code' => ''
    ]
    'CreditCardForm' => [
        'number' => '50176700000018123'
        'ccv' => '123'
        'expire_month' => '12'
        'expire_year' => '2020'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 35
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 35
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#25
        (
            [0] => yii\validators\RequiredValidator#26
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#27
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#28
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#29
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#30
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#31
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#32
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#33
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#34
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#35
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#37
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#38
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => 'Os valores estão incorretos. Por favor verifique-os e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#39
        (
            [0] => yii\validators\RequiredValidator#40
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#41
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#42
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#43
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#45
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#46
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#47
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#48
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique-os e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '315'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55304'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191858.942
    'REQUEST_TIME' => 1586191858
]
2020-04-06 16:50:59 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=35 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=36
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:50:59 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 35
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 35
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 36
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:50:58'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 36
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:50:58'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 36
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '8518f67d90c85f7ca067c96c1ffc57b745931c9a'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:50:58'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:50:58'
                            'updated_on' => '2020-04-06 17:50:58'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 36
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '8518f67d90c85f7ca067c96c1ffc57b745931c9a'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:50:58'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:50:58'
                            'updated_on' => '2020-04-06 17:50:58'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => 'Os valores estão incorretos. Por favor verifique-os e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55304'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191859.052
    'REQUEST_TIME' => 1586191859
]
2020-04-06 16:50:59 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:59 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:50:59 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 35
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 35
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 36
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:50:58'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 36
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:50:58'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 36
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '8518f67d90c85f7ca067c96c1ffc57b745931c9a'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:50:58'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:50:58'
                            'updated_on' => '2020-04-06 17:50:58'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 36
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => '8518f67d90c85f7ca067c96c1ffc57b745931c9a'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:50:58'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:50:58'
                            'updated_on' => '2020-04-06 17:50:58'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => 'Os valores estão incorretos. Por favor verifique-os e tente novamente.'
                1 => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55304'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191859.976
    'REQUEST_TIME' => 1586191859
]
2020-04-06 16:51:01 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE (`email`='t31@t31.pt') AND (`id` > 100)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:244
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `user` (`name`, `email`, `password`, `type`, `terms_conditions_agreement`, `updated_by`, `active`, `created_on`) VALUES ('T 31', 't31@t31.pt', 'fd9e9b1d6aa4df3d148c3f7f5fa6cf4114c9c9bf', 'client', NOW(), 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:259
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE (`vat_number`='65465465') AND (`fk_country_id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `country` WHERE `country`.`id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `user` WHERE `user`.`id`=37)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::execute] UPDATE `client` SET `fk_user_id`=37, `vat_exempt`=0 WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE `code`=''
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=14)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='1')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `sale` (`fk_consultant_id`, `fk_client_id`, `fk_productversion_id`, `value_license`, `value_cost`, `value_payed`, `value_promocode`, `payment_reference`, `invoice_number`, `status`, `updated_by`, `created_on`) VALUES (1, 14, 1, '359', '359.00', '441.57', '0', '65465465#20200406', '#To Be Issued', 'pending', 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE 0=1
    in /home/fmm/work/dpo/portal/components/Calculus.php:60
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:315
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=36)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `accountmovement` WHERE `fk_consultant_id`=1 ORDER BY `id` DESC
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:85
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:92
    in /home/fmm/work/dpo/portal/models/Accountmovement.php:170
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `accountmovement` (`fk_consultant_id`, `fk_sale_id`, `type`, `value`, `date`, `description`, `updated_by`, `created_on`, `balance`) VALUES (1, 36, 'credit', '0', NOW(), 'Sale to t31', 1, NOW(), '0')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=36)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `license` (`fk_sale_id`, `type`, `subdomain`, `language_code`, `cypher_key`, `valid_until`, `max_users`, `allows_scheduling`, `allows_analysis`, `allows_integration`, `disk_space`, `updated_by`, `created_on`) VALUES (36, 'new', 't31', 'PT', 'PT65465465', '2021-04-07', 1, 0, 0, 0, 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-06 16:51:01 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = [
    '_csrf' => 'PbQFMK3tJfCS2tmm1uJje6Rkbvo1xFQ4uxVpKTnipkZn7ldV6pddtKC9jerj1itK3StesVGeHHTqc1kYaIPyAQ=='
    'ProductSignupStep3Form' => [
        'promo_code' => ''
    ]
    'CreditCardForm' => [
        'number' => '50176700000018123'
        'ccv' => '123'
        'expire_month' => '12'
        'expire_year' => '2020'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 36
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 36
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#25
        (
            [0] => yii\validators\RequiredValidator#26
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#27
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#28
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#29
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#30
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#31
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#32
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#33
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#34
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#35
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#37
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#38
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#39
        (
            [0] => yii\validators\RequiredValidator#40
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#41
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#42
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#43
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#45
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#46
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#47
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#48
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '315'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55322'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191861.336
    'REQUEST_TIME' => 1586191861
]
2020-04-06 16:51:01 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=36 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=37
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:51:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:51:01 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 36
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 36
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 37
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:51:01'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 37
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:51:01'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 37
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'fd9e9b1d6aa4df3d148c3f7f5fa6cf4114c9c9bf'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:51:01'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:51:01'
                            'updated_on' => '2020-04-06 17:51:01'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 37
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'fd9e9b1d6aa4df3d148c3f7f5fa6cf4114c9c9bf'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:51:01'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:51:01'
                            'updated_on' => '2020-04-06 17:51:01'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55322'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191861.402
    'REQUEST_TIME' => 1586191861
]
2020-04-06 16:51:02 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:51:02 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:51:02 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:51:02 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:51:02 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:51:02 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 36
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 36
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 37
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:51:01'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 37
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:51:01'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 37
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'fd9e9b1d6aa4df3d148c3f7f5fa6cf4114c9c9bf'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:51:01'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:51:01'
                            'updated_on' => '2020-04-06 17:51:01'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 37
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'fd9e9b1d6aa4df3d148c3f7f5fa6cf4114c9c9bf'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:51:01'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:51:01'
                            'updated_on' => '2020-04-06 17:51:01'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
                1 => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55322'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191862.343
    'REQUEST_TIME' => 1586191862
]
2020-04-06 16:51:12 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE (`email`='t31@t31.pt') AND (`id` > 100)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:244
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `user` (`name`, `email`, `password`, `type`, `terms_conditions_agreement`, `updated_by`, `active`, `created_on`) VALUES ('T 31', 't31@t31.pt', 'fd9e9b1d6aa4df3d148c3f7f5fa6cf4114c9c9bf', 'client', NOW(), 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:259
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE (`vat_number`='65465465') AND (`fk_country_id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `country` WHERE `country`.`id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `user` WHERE `user`.`id`=38)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::execute] UPDATE `client` SET `fk_user_id`=38, `vat_exempt`=0 WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE `code`=''
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=14)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='1')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `sale` (`fk_consultant_id`, `fk_client_id`, `fk_productversion_id`, `value_license`, `value_cost`, `value_payed`, `value_promocode`, `payment_reference`, `invoice_number`, `status`, `updated_by`, `created_on`) VALUES (1, 14, 1, '359', '359.00', '441.57', '0', '65465465#20200406', '#To Be Issued', 'pending', 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE 0=1
    in /home/fmm/work/dpo/portal/components/Calculus.php:60
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:315
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=37)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `accountmovement` WHERE `fk_consultant_id`=1 ORDER BY `id` DESC
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:85
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:92
    in /home/fmm/work/dpo/portal/models/Accountmovement.php:170
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `accountmovement` (`fk_consultant_id`, `fk_sale_id`, `type`, `value`, `date`, `description`, `updated_by`, `created_on`, `balance`) VALUES (1, 37, 'credit', '0', NOW(), 'Sale to t31', 1, NOW(), '0')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=37)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `license` (`fk_sale_id`, `type`, `subdomain`, `language_code`, `cypher_key`, `valid_until`, `max_users`, `allows_scheduling`, `allows_analysis`, `allows_integration`, `disk_space`, `updated_by`, `created_on`) VALUES (37, 'new', 't31', 'PT', 'PT65465465', '2021-04-07', 1, 0, 0, 0, 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-06 16:51:12 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = [
    '_csrf' => 'vagdZvcZLMiV5qwXS2WrS9PMVbrrLOMEolHI8078xMDn8k8DsGNUjKeB-Ft-UeN6qoNl8Y92q0jzN_jCH52Qhw=='
    'ProductSignupStep3Form' => [
        'promo_code' => ''
    ]
    'CreditCardForm' => [
        'number' => '50176700000018123'
        'ccv' => '123'
        'expire_month' => '12'
        'expire_year' => '2020'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 37
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 37
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#25
        (
            [0] => yii\validators\RequiredValidator#26
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#27
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#28
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#29
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#30
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#31
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#32
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#33
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#34
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#35
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#37
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#38
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#39
        (
            [0] => yii\validators\RequiredValidator#40
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#41
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#42
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#43
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#45
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#46
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#47
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#48
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '315'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55346'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191872.507
    'REQUEST_TIME' => 1586191872
]
2020-04-06 16:51:12 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=37 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=38
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:51:12 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-06 16:51:12 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 37
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 37
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 38
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:51:12'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 38
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:51:12'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 38
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'fd9e9b1d6aa4df3d148c3f7f5fa6cf4114c9c9bf'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:51:12'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:51:12'
                            'updated_on' => '2020-04-06 17:51:12'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 38
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'fd9e9b1d6aa4df3d148c3f7f5fa6cf4114c9c9bf'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:51:12'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:51:12'
                            'updated_on' => '2020-04-06 17:51:12'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55346'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191872.572
    'REQUEST_TIME' => 1586191872
]
2020-04-06 16:51:13 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-06 16:51:13 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:51:13 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:51:13 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:51:13 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-06 16:51:13 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
    'back' => '1'
    'paymentErrorReturn' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'u5219rd66au4rbr8878oitcs6h'
    '_csrf' => 'd1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'T 31'
        [user_email] => 't31@t31.pt'
        [client_subdomain] => 't31'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 't31'
        [client_phone] => '54654'
        [client_vat_exempt] => false
        [client_vat_number] => '65465465'
        [client_address_line1] => 'T 31'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '1570'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 37
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 14
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '65465465#20200406'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 37
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 14
                    'fk_user_id' => 38
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:51:12'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 14
                    'fk_user_id' => 38
                    'name' => 't31'
                    'phone_number' => '54654'
                    'vat_number' => '65465465'
                    'vat_exempt' => 0
                    'address_line1' => 'T 31'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '1570'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-03 15:01:33'
                    'updated_on' => '2020-04-06 17:51:12'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 38
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'fd9e9b1d6aa4df3d148c3f7f5fa6cf4114c9c9bf'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:51:12'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:51:12'
                            'updated_on' => '2020-04-06 17:51:12'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 38
                            'name' => 'T 31'
                            'email' => 't31@t31.pt'
                            'password' => 'fd9e9b1d6aa4df3d148c3f7f5fa6cf4114c9c9bf'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-06 17:51:12'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-06 17:51:12'
                            'updated_on' => '2020-04-06 17:51:12'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#41
    (
        [number] => '50176700000018123'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => [
            'number' => [
                0 => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
                1 => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
            ]
        ]
        [yii\base\Model:_validators] => ArrayObject#42
        (
            [0] => yii\validators\RequiredValidator#43
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#45
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#46
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#47
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#48
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#49
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#50
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#51
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC_ERROR' => 'Os valores estão incorretos. Por favor verifique os valores e tente novamente.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=u5219rd66au4rbr8878oitcs6h; _csrf=d1066bc7076ff901398050577795c0ccac6921021018ad8b6d43fa276c23b05aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ZZReGzxD2gTL54H1yO0KdZHLQf01QaTG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55346'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1&back=1&paymentErrorReturn=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586191873.406
    'REQUEST_TIME' => 1586191873
]
2020-04-08 09:03:40 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:118
2020-04-08 09:03:40 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-08 09:03:40 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-08 09:03:40 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-08 09:03:40 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-08 09:03:40 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-08 09:03:40 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-08 09:03:40 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-08 09:03:40 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-08 09:03:40 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = []

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55380'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586336620.496
    'REQUEST_TIME' => 1586336620
]
2020-04-11 08:45:14 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:118
2020-04-11 08:45:14 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-11 08:45:14 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-11 08:45:14 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-11 08:45:14 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-11 08:45:14 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-11 08:45:14 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-11 08:45:14 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-11 08:45:14 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-11 08:45:14 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    '806e465213e746b057c996df4a9398a0' => 'lge0boeifk87c3emcm1qujsg54'
    '3f98b1f69d67595bcb21abfb778ab85c' => 'pt-PT'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => '806e465213e746b057c996df4a9398a0=lge0boeifk87c3emcm1qujsg54; 3f98b1f69d67595bcb21abfb778ab85c=pt-PT'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '55046'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586594714.267
    'REQUEST_TIME' => 1586594714
]
2020-04-14 11:15:09 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:118
2020-04-14 11:15:09 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-14 11:15:09 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-14 11:15:09 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-14 11:15:09 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-14 11:15:09 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-14 11:15:09 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-14 11:15:09 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-14 11:15:09 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-14 11:15:09 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = []

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35382'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586862909.616
    'REQUEST_TIME' => 1586862909
]
2020-04-15 16:17:02 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:118
2020-04-15 16:17:02 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-15 16:17:02 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-15 16:17:02 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-15 16:17:02 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-15 16:17:02 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-15 16:17:02 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-15 16:17:02 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-15 16:17:02 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-15 16:17:02 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = []

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60476'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586967422.088
    'REQUEST_TIME' => 1586967422
]
2020-04-15 16:17:11 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/controllers/JsonController.php:70
2020-04-15 16:17:11 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:114
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:63
2020-04-15 16:17:11 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:114
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:63
2020-04-15 16:17:11 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:114
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:63
2020-04-15 16:17:11 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `email`='hexonio@hexonio.com'
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:114
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:63
2020-04-15 16:17:11 [::1][1][-][info][yii\web\User::login] User '1' logged in from ::1 with duration 2592000.
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:100
    in /home/fmm/work/dpo/portal/controllers/JsonController.php:97
2020-04-15 16:17:11 [::1][1][-][info][application] $_GET = [
    'r' => 'json/loginuser'
]

$_POST = [
    '_csrf' => 'FyJxGVXEKMVKuDTdKFJvHgwFHwq0SBIMowdZPPRFTNJVUx58Y7NugxPvVrFuOQtOQFVbeOIee2rOcSxxoDcpog=='
    'LoginForm' => [
        'email' => 'hexonio@hexonio.com'
        'password' => '123'
    ]
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'kg9iiriv7jt627dv71e23hamcf'
    '_csrf' => 'ffd2abdac56b0c0c6f90c07cf0a2ed8d34536e8ed3a2f987f5c2ba05d2dfdc37a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"Bqoe6wFFYWblFkdPLPDrVVifmvuMTrep\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'application/json, text/javascript, */*; q=0.01'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded; charset=UTF-8'
    'HTTP_X_REQUESTED_WITH' => 'XMLHttpRequest'
    'CONTENT_LENGTH' => '169'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=kg9iiriv7jt627dv71e23hamcf; _csrf=ffd2abdac56b0c0c6f90c07cf0a2ed8d34536e8ed3a2f987f5c2ba05d2dfdc37a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22Bqoe6wFFYWblFkdPLPDrVVifmvuMTrep%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60510'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=json%2Floginuser'
    'REQUEST_URI' => '/index.php?r=json%2Floginuser'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586967431.268
    'REQUEST_TIME' => 1586967431
]
2020-04-15 16:17:11 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:11 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:11 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:11 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:11 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:11 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-15 16:17:11 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-15 16:17:11 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-15 16:17:11 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-15 16:17:11 [::1][1][-][info][application] $_GET = [
    'r' => 'dashboard/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60510'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=dashboard%2Findex'
    'REQUEST_URI' => '/index.php?r=dashboard%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586967431.325
    'REQUEST_TIME' => 1586967431
]
2020-04-15 16:17:17 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/models/SaleSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:40
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/models/SaleSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:40
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client`
    in /home/fmm/work/dpo/portal/views/sale/index.php:28
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant`
    in /home/fmm/work/dpo/portal/views/sale/index.php:37
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` ORDER BY `name`
    in /home/fmm/work/dpo/portal/views/sale/index.php:50
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/sale/index.php:50
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/sale/index.php:50
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `sale`
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` ORDER BY `updated_on` DESC, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=15
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-15 16:17:17 [::1][1][-][info][application] $_GET = [
    'r' => 'sale/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60522'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=sale%2Findex'
    'REQUEST_URI' => '/index.php?r=sale%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586967437.516
    'REQUEST_TIME' => 1586967437
]
2020-04-15 16:17:19 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:145
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:56
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:145
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:56
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`='37'
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:145
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:56
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:103
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:59
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:103
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:59
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/sale/view.php:17
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/sale/view.php:17
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/sale/view.php:17
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/view.php:32
    in /home/fmm/work/dpo/portal/views/sale/view.php:91
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/view.php:40
    in /home/fmm/work/dpo/portal/views/sale/view.php:91
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/views/sale/view.php:40
    in /home/fmm/work/dpo/portal/views/sale/view.php:91
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/views/sale/view.php:40
    in /home/fmm/work/dpo/portal/views/sale/view.php:91
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/view.php:48
    in /home/fmm/work/dpo/portal/views/sale/view.php:91
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/sale/view.php:48
    in /home/fmm/work/dpo/portal/views/sale/view.php:91
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/sale/view.php:48
    in /home/fmm/work/dpo/portal/views/sale/view.php:91
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/view.php:90
    in /home/fmm/work/dpo/portal/views/sale/view.php:91
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `license` WHERE `fk_sale_id`=37
    in /home/fmm/work/dpo/portal/views/sale/view.php:150
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=37 ORDER BY `updated_on` DESC, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/sale/view.php:150
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-15 16:17:19 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-15 16:17:19 [::1][1][-][info][application] $_GET = [
    'r' => 'sale/view'
    'id' => '37'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=sale%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60522'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=sale%2Fview&id=37'
    'REQUEST_URI' => '/index.php?r=sale%2Fview&id=37'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586967439.329
    'REQUEST_TIME' => 1586967439
]
2020-04-15 16:17:24 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:39
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:39
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:39
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/models/ClientSearch.php:55
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:40
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/models/ClientSearch.php:55
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:40
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE (`active`=1) AND (`type`='client')
    in /home/fmm/work/dpo/portal/models/UserSearch.php:91
    in /home/fmm/work/dpo/portal/views/client/index.php:32
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `client`
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` LIMIT 20
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=3
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=5
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=6
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=7
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=8
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=9
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=10
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=11
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=12
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=13
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=16
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=38
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=19
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:24 [::1][1][-][info][application] $_GET = [
    'r' => 'client/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=sale%2Fview&id=37'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60532'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=client%2Findex'
    'REQUEST_URI' => '/index.php?r=client%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586967444.689
    'REQUEST_TIME' => 1586967444
]
2020-04-15 16:17:27 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:27 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:134
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:60
2020-04-15 16:17:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:134
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:60
2020-04-15 16:17:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:134
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:60
2020-04-15 16:17:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/client/view.php:13
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:60
2020-04-15 16:17:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/client/view.php:13
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:60
2020-04-15 16:17:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/client/view.php:13
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:60
2020-04-15 16:17:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/client/view.php:28
    in /home/fmm/work/dpo/portal/views/client/view.php:54
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:60
2020-04-15 16:17:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `country` WHERE `id`='PT'
    in /home/fmm/work/dpo/portal/views/client/view.php:43
    in /home/fmm/work/dpo/portal/views/client/view.php:54
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:60
2020-04-15 16:17:31 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `country`
    in /home/fmm/work/dpo/portal/views/client/view.php:43
    in /home/fmm/work/dpo/portal/views/client/view.php:54
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:60
2020-04-15 16:17:31 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'country' AND kcu.table_name = 'country'
    in /home/fmm/work/dpo/portal/views/client/view.php:43
    in /home/fmm/work/dpo/portal/views/client/view.php:54
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:60
2020-04-15 16:17:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/client/view.php:53
    in /home/fmm/work/dpo/portal/views/client/view.php:54
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:60
2020-04-15 16:17:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:60
2020-04-15 16:17:26 [::1][1][-][info][application] $_GET = [
    'r' => 'client/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=client%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60532'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=client%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=client%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586967446.128
    'REQUEST_TIME' => 1586967446
]
2020-04-15 16:17:35 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:39
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:39
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:39
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/models/ClientSearch.php:55
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:40
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/models/ClientSearch.php:55
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:40
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE (`active`=1) AND (`type`='client')
    in /home/fmm/work/dpo/portal/models/UserSearch.php:91
    in /home/fmm/work/dpo/portal/views/client/index.php:32
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `client`
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` LIMIT 20
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=3
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=5
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=6
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=7
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=8
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=9
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=10
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=11
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=12
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=13
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=16
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=38
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=19
    in /home/fmm/work/dpo/portal/views/client/index.php:29
    in /home/fmm/work/dpo/portal/views/client/index.php:50
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ClientController.php:47
2020-04-15 16:17:35 [::1][1][-][info][application] $_GET = [
    'r' => 'client/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=client%2Fview&id=1'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60532'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=client%2Findex'
    'REQUEST_URI' => '/index.php?r=client%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586967455.713
    'REQUEST_TIME' => 1586967455
]
2020-04-15 16:17:43 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:43 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:42
2020-04-15 16:17:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:42
2020-04-15 16:17:43 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `license`
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:46
2020-04-15 16:17:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` LIMIT 20
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:46
2020-04-15 16:17:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:46
2020-04-15 16:17:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:46
2020-04-15 16:17:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:46
2020-04-15 16:17:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:46
2020-04-15 16:17:41 [::1][1][-][info][application] $_GET = [
    'r' => 'license/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=client%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60546'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Findex'
    'REQUEST_URI' => '/index.php?r=license%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586967461.252
    'REQUEST_TIME' => 1586967461
]
2020-04-15 16:17:45 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:67
    in /home/fmm/work/dpo/portal/views/license/view.php:68
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:17:45 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:17:45 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60546'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586967465.958
    'REQUEST_TIME' => 1586967465
]
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Setting unknown property: app\view\MainView::canDeploy in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Component.php:209
Stack trace:
#0 /home/fmm/work/dpo/portal/views/license/view.php(17): yii\base\Component->__set()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(348): require('/home/fmm/work/...')
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(386): yii\base\View->render()
#5 /home/fmm/work/dpo/portal/controllers/LicenseController.php(59): yii\base\Controller->render()
#6 [internal function]: app\controllers\LicenseController->actionView()
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#9 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#10 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#11 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#12 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#13 {main}
2020-04-15 16:19:19 [::1][1][ashofv7b65edab32pmuetdojn4][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60560'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586967559.665
    'REQUEST_TIME' => 1586967559
]
2020-04-15 16:20:25 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:67
    in /home/fmm/work/dpo/portal/views/license/view.php:68
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:20:25 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:20:25 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60576'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586967625.309
    'REQUEST_TIME' => 1586967625
]
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: app\view\MainView::canPack in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Component.php:154
Stack trace:
#0 /home/fmm/work/dpo/portal/view/MainView.php(129): yii\base\Component->__get()
#1 /home/fmm/work/dpo/portal/view/MainView.php(182): app\view\MainView->buttonPack()
#2 /home/fmm/work/dpo/portal/views/license/view.php(24): app\view\MainView->drawActionHeader()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(348): require('/home/fmm/work/...')
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(386): yii\base\View->render()
#7 /home/fmm/work/dpo/portal/controllers/LicenseController.php(59): yii\base\Controller->render()
#8 [internal function]: app\controllers\LicenseController->actionView()
#9 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#10 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#11 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#12 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#13 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#14 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#15 {main}
2020-04-15 16:39:08 [::1][1][ashofv7b65edab32pmuetdojn4][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60706'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586968748.756
    'REQUEST_TIME' => 1586968748
]
2020-04-15 16:53:50 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:68
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:53:50 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:53:50 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60838'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586969630.238
    'REQUEST_TIME' => 1586969630
]
2020-04-15 16:53:54 [::1][1][ashofv7b65edab32pmuetdojn4][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request: license/deploy in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php:128
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#3 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#4 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-04-15 16:53:54 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:53:54 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:53:54 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:53:54 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:53:54 [::1][1][ashofv7b65edab32pmuetdojn4][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:53:54 [::1][1][ashofv7b65edab32pmuetdojn4][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60844'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586969634.138
    'REQUEST_TIME' => 1586969634
]
2020-04-15 16:56:32 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:68
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:56:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:56:32 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60872'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586969792.752
    'REQUEST_TIME' => 1586969792
]
2020-04-15 16:57:11 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:68
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:11 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:11 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60882'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586969831.74
    'REQUEST_TIME' => 1586969831
]
2020-04-15 16:57:18 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:68
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:18 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60896'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586969838.098
    'REQUEST_TIME' => 1586969838
]
2020-04-15 16:57:23 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:243
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:68
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 16:57:23 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60908'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586969843.638
    'REQUEST_TIME' => 1586969843
]
2020-04-15 17:02:54 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:247
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:247
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:247
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:10
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:13
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:68
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:02:54 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:02:54 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60942'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586970174.829
    'REQUEST_TIME' => 1586970174
]
2020-04-15 17:04:27 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:04:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:04:27 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:04:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:04:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:04:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:121
    in /home/fmm/work/dpo/portal/controllers/ProductversionController.php:40
2020-04-15 17:04:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:121
    in /home/fmm/work/dpo/portal/controllers/ProductversionController.php:40
2020-04-15 17:04:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/productversion/index.php:12
    in /home/fmm/work/dpo/portal/controllers/ProductversionController.php:44
2020-04-15 17:04:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/productversion/index.php:12
    in /home/fmm/work/dpo/portal/controllers/ProductversionController.php:44
2020-04-15 17:04:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/productversion/index.php:12
    in /home/fmm/work/dpo/portal/controllers/ProductversionController.php:44
2020-04-15 17:04:27 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion`
    in /home/fmm/work/dpo/portal/views/productversion/index.php:79
    in /home/fmm/work/dpo/portal/controllers/ProductversionController.php:44
2020-04-15 17:04:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` LIMIT 20
    in /home/fmm/work/dpo/portal/views/productversion/index.php:79
    in /home/fmm/work/dpo/portal/controllers/ProductversionController.php:44
2020-04-15 17:04:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ProductversionController.php:44
2020-04-15 17:04:27 [::1][1][-][info][application] $_GET = [
    'r' => 'productversion/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60958'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productversion%2Findex'
    'REQUEST_URI' => '/index.php?r=productversion%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586970267.207
    'REQUEST_TIME' => 1586970267
]
2020-04-15 17:07:28 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:247
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:247
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:247
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:14
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:14
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:14
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:07:28 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:07:28 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60980'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586970448.862
    'REQUEST_TIME' => 1586970448
]
2020-04-15 17:08:07 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:247
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:247
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:247
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:08:07 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:08:07 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '60994'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586970487.848
    'REQUEST_TIME' => 1586970487
]
2020-04-15 17:44:05 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:05 [::1][1][-][info][yii\web\User::loginByCookie] User '1' logged in from ::1 via cookie.
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:05 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ashofv7b65edab32pmuetdojn4'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ashofv7b65edab32pmuetdojn4; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '32986'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586972645.454
    'REQUEST_TIME' => 1586972645
]
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=2
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][error][yii\base\ErrorException:8] yii\base\ErrorException: Undefined variable: subdomain in /home/fmm/work/dpo/portal/controllers/LicenseController.php:261
Stack trace:
#0 /home/fmm/work/dpo/portal/controllers/LicenseController.php(261): yii\web\ErrorHandler->handleError()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): app\controllers\LicenseController->actionDeploy()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): ::call_user_func_array:{/home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php:57}()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): app\controllers\LicenseController->runAction()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\web\Application->runAction()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#7 /home/fmm/work/dpo/portal/web/index.php(12): yii\web\Application->run()
#8 {main}
2020-04-15 17:44:07 [::1][1][41a6ppegilmf0r32072frdvcrb][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '32992'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586972647.588
    'REQUEST_TIME' => 1586972647
]
2020-04-15 17:44:17 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=2
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-15 17:44:16 [::1][1][-][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => -1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => 'Deploy performed successful.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33008'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586972656.867
    'REQUEST_TIME' => 1586972656
]
2020-04-15 17:44:17 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:17 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:17 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => 1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => 'Deploy performed successful.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33008'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586972657.231
    'REQUEST_TIME' => 1586972657
]
2020-04-15 17:44:32 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=2
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-15 17:44:32 [::1][1][-][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => -1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => 'Deploy performed successful.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33032'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586972672.944
    'REQUEST_TIME' => 1586972672
]
2020-04-15 17:44:32 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:33 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:33 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:33 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:32 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => 1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => 'Deploy performed successful.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33032'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586972672.973
    'REQUEST_TIME' => 1586972672
]
2020-04-15 17:44:36 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:36 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33032'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586972676.227
    'REQUEST_TIME' => 1586972676
]
2020-04-15 17:44:37 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=2
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-15 17:44:37 [::1][1][-][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => -1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => '/home/fmm/work/dpo/portaldeploy/deploy.sh -d=hexonio -dp=/home/fmm/work/dpo/portal/subdomains/hexonio -fn=6464 -em=fmm@hexonio.pt -ph=64654 -url=https://hexonio.dpoagenda.eu -l=PT -dbsn=localhost -dbsp=3306 -dbu=dpoagend_Usr -dbp=dpoAgenda!2019 -db=db_hexonio -ts=1'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33046'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586972677.824
    'REQUEST_TIME' => 1586972677
]
2020-04-15 17:44:37 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:37 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:37 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => 1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => '/home/fmm/work/dpo/portaldeploy/deploy.sh -d=hexonio -dp=/home/fmm/work/dpo/portal/subdomains/hexonio -fn=6464 -em=fmm@hexonio.pt -ph=64654 -url=https://hexonio.dpoagenda.eu -l=PT -dbsn=localhost -dbsp=3306 -dbu=dpoagend_Usr -dbp=dpoAgenda!2019 -db=db_hexonio -ts=1'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33046'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586972677.853
    'REQUEST_TIME' => 1586972677
]
2020-04-15 17:44:57 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:57 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:57 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:57 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:44:57 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:44:57 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:44:57 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:44:57 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:44:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:44:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:44:57 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:44:57 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=2
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-15 17:44:57 [::1][1][-][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => -1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => '/home/fmm/work/dpo/portal/deploy/deploy.sh -d=hexonio -dp=/home/fmm/work/dpo/portal/subdomains/hexonio -fn=6464 -em=fmm@hexonio.pt -ph=64654 -url=https://hexonio.dpoagenda.eu -l=PT -dbsn=localhost -dbsp=3306 -dbu=dpoagend_Usr -dbp=dpoAgenda!2019 -db=db_hexonio -ts=1'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33062'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586972697.976
    'REQUEST_TIME' => 1586972697
]
2020-04-15 17:44:58 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:44:58 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => 1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => '/home/fmm/work/dpo/portal/deploy/deploy.sh -d=hexonio -dp=/home/fmm/work/dpo/portal/subdomains/hexonio -fn=6464 -em=fmm@hexonio.pt -ph=64654 -url=https://hexonio.dpoagenda.eu -l=PT -dbsn=localhost -dbsp=3306 -dbu=dpoagend_Usr -dbp=dpoAgenda!2019 -db=db_hexonio -ts=1'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33062'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586972698.02
    'REQUEST_TIME' => 1586972698
]
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=2
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][error][Error] Error: Call to undefined function app\controllers\lowercase() in /home/fmm/work/dpo/portal/controllers/LicenseController.php:266
Stack trace:
#0 [internal function]: app\controllers\LicenseController->actionDeploy()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#6 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#7 {main}
2020-04-15 17:45:53 [::1][1][41a6ppegilmf0r32072frdvcrb][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33112'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586972753.286
    'REQUEST_TIME' => 1586972753
]
2020-04-15 17:46:02 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=2
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-15 17:46:02 [::1][1][-][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => -1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => '/home/fmm/work/dpo/portal/deploy/deploy.sh -d=hexonio -dp=/home/fmm/work/dpo/portal/subdomains/hexonio -fn=6464 -em=fmm@hexonio.pt -ph=64654 -url=https://hexonio.dpoagenda.eu -l=pt -dbsn=localhost -dbsp=3306 -dbu=dpoagend_Usr -dbp=dpoAgenda!2019 -db=db_hexonio -ts=1'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33118'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586972762.67
    'REQUEST_TIME' => 1586972762
]
2020-04-15 17:46:02 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:46:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:46:02 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => 1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => '/home/fmm/work/dpo/portal/deploy/deploy.sh -d=hexonio -dp=/home/fmm/work/dpo/portal/subdomains/hexonio -fn=6464 -em=fmm@hexonio.pt -ph=64654 -url=https://hexonio.dpoagenda.eu -l=pt -dbsn=localhost -dbsp=3306 -dbu=dpoagend_Usr -dbp=dpoAgenda!2019 -db=db_hexonio -ts=1'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33118'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586972762.712
    'REQUEST_TIME' => 1586972762
]
2020-04-15 17:53:24 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:301
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:301
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:301
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=2
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-15 17:53:24 [::1][1][-][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => -1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => '/home/fmm/work/dpo/portal/deploy/deploy.sh -d=hexonio -dp=/home/fmm/work/dpo/portal/subdomains/hexonio -fn=6464 -em=fmm@hexonio.pt -ph=64654 -url=https://hexonio.dpoagenda.eu -l=pt -dbsn=localhost -dbsp=3306 -dbu=dpoagend_Usr -dbp=dpoAgenda!2019 -db=db_hexonio -ts=1 -csd=1'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33202'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586973204.087
    'REQUEST_TIME' => 1586973204
]
2020-04-15 17:53:24 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:301
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:301
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:301
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:24 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => 1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => '/home/fmm/work/dpo/portal/deploy/deploy.sh -d=hexonio -dp=/home/fmm/work/dpo/portal/subdomains/hexonio -fn=6464 -em=fmm@hexonio.pt -ph=64654 -url=https://hexonio.dpoagenda.eu -l=pt -dbsn=localhost -dbsp=3306 -dbu=dpoagend_Usr -dbp=dpoAgenda!2019 -db=db_hexonio -ts=1 -csd=1'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33202'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586973204.114
    'REQUEST_TIME' => 1586973204
]
2020-04-15 17:53:47 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=2
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-15 17:53:47 [::1][1][-][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => -1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => 'Deploy performed successful.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33224'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586973227.358
    'REQUEST_TIME' => 1586973227
]
2020-04-15 17:53:47 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:53:47 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => 1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => 'Deploy performed successful.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33224'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586973227.389
    'REQUEST_TIME' => 1586973227
]
2020-04-15 17:54:05 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=2
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-15 17:54:05 [::1][1][-][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => -1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => 'Deploy performed successful.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33234'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586973245.328
    'REQUEST_TIME' => 1586973245
]
2020-04-15 17:54:05 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:05 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => 1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => 'Deploy performed successful.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33234'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586973245.361
    'REQUEST_TIME' => 1586973245
]
2020-04-15 17:54:06 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:244
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:248
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:257
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=2
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-15 17:54:06 [::1][1][-][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => -1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => 'Deploy performed successful.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33234'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586973246.469
    'REQUEST_TIME' => 1586973246
]
2020-04-15 17:54:06 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:300
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-15 17:54:06 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '41a6ppegilmf0r32072frdvcrb'
    '_csrf' => 'e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => 1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => 'Deploy performed successful.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=41a6ppegilmf0r32072frdvcrb; _csrf=e221f3677df42de4d7a22aec06adae9f5ee1eb03fd732dc4ea51b216a695e700a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22j6CVV4vCL20z5Pj_f9coGNsLWYjJ0NSx%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '33234'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1586973246.498
    'REQUEST_TIME' => 1586973246
]
2020-04-16 10:57:07 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:57:07 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 10:57:07 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 10:57:07 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 10:57:07 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 10:57:07 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 10:57:07 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 10:57:07 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 10:57:07 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 10:57:07 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'oqa1c7kj891sjjfnk699ld4lqg'
    '_csrf' => '0bf3988f6b067ddea83c4cfcee77cf986fba2f7706ab61702f01cadc876b3e36a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"2WMllJDwUlDJx4xEYUey9pBc9KsgsqgL\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=oqa1c7kj891sjjfnk699ld4lqg; _csrf=0bf3988f6b067ddea83c4cfcee77cf986fba2f7706ab61702f01cadc876b3e36a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%222WMllJDwUlDJx4xEYUey9pBc9KsgsqgL%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '34860'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587034627.498
    'REQUEST_TIME' => 1587034627
]
2020-04-16 10:58:33 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/controllers/JsonController.php:70
2020-04-16 10:58:33 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:114
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:63
2020-04-16 10:58:33 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:114
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:63
2020-04-16 10:58:33 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:114
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:63
2020-04-16 10:58:33 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `email`='hexonio@hexonio.com'
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:114
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:63
2020-04-16 10:58:33 [::1][1][-][info][yii\web\User::login] User '1' logged in from ::1 with duration 2592000.
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:100
    in /home/fmm/work/dpo/portal/controllers/JsonController.php:97
2020-04-16 10:58:33 [::1][1][-][info][application] $_GET = [
    'r' => 'json/loginuser'
]

$_POST = [
    '_csrf' => '2QBi6_OSPedDtl7zL_oxoQEr0KleTTUX-XBVPxUvq22GawigmqVNrAH8CIZfyFj-Uxmi7TQuZ2GrPTJ1X2vzWg=='
    'LoginForm' => [
        'email' => 'hexonio@hexonio.com'
        'password' => '123'
    ]
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'oqa1c7kj891sjjfnk699ld4lqg'
    '_csrf' => 'ca0f3ed2f33cb0e9dd80efbed805f0cdcaa565117dce71a681355d36da15574da:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"_kjKi7pKBJVup2i_R2rDjcRvRMgJJDX7\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'application/json, text/javascript, */*; q=0.01'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded; charset=UTF-8'
    'HTTP_X_REQUESTED_WITH' => 'XMLHttpRequest'
    'CONTENT_LENGTH' => '169'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=oqa1c7kj891sjjfnk699ld4lqg; _csrf=ca0f3ed2f33cb0e9dd80efbed805f0cdcaa565117dce71a681355d36da15574da%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22_kjKi7pKBJVup2i_R2rDjcRvRMgJJDX7%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '34886'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=json%2Floginuser'
    'REQUEST_URI' => '/index.php?r=json%2Floginuser'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587034712.998
    'REQUEST_TIME' => 1587034712
]
2020-04-16 10:58:33 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:33 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:33 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:33 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:33 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:33 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 10:58:33 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 10:58:33 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 10:58:33 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 10:58:33 [::1][1][-][info][application] $_GET = [
    'r' => 'dashboard/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '34886'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=dashboard%2Findex'
    'REQUEST_URI' => '/index.php?r=dashboard%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587034713.042
    'REQUEST_TIME' => 1587034713
]
2020-04-16 10:58:43 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/models/SaleSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:40
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/models/SaleSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:40
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client`
    in /home/fmm/work/dpo/portal/views/sale/index.php:28
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant`
    in /home/fmm/work/dpo/portal/views/sale/index.php:37
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` ORDER BY `name`
    in /home/fmm/work/dpo/portal/views/sale/index.php:50
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/sale/index.php:50
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/sale/index.php:50
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `sale`
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` ORDER BY `updated_on` DESC, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=15
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:44 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 10:58:43 [::1][1][-][info][application] $_GET = [
    'r' => 'sale/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '34900'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=sale%2Findex'
    'REQUEST_URI' => '/index.php?r=sale%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587034723.936
    'REQUEST_TIME' => 1587034723
]
2020-04-16 10:58:48 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:48 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:48 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:48 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:48 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:48 [::1][1][-][info][application] $_GET = [
    'r' => 'gii'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '34900'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=gii'
    'REQUEST_URI' => '/index.php?r=gii'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587034728.385
    'REQUEST_TIME' => 1587034728
]
2020-04-16 10:58:54 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:54 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:54 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:54 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:54 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 10:58:54 [::1][1][-][info][yii\db\Command::query] SHOW TABLES
2020-04-16 10:58:54 [::1][1][-][info][application] $_GET = [
    'r' => 'gii/default/view'
    'id' => 'model'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=gii'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '34916'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=gii%2Fdefault%2Fview&id=model'
    'REQUEST_URI' => '/index.php?r=gii%2Fdefault%2Fview&id=model'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587034734.769
    'REQUEST_TIME' => 1587034734
]
2020-04-16 11:01:13 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:01:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:01:13 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:01:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:01:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:01:13 [::1][1][-][info][yii\db\Command::query] SHOW TABLES
2020-04-16 11:01:13 [::1][1][-][info][application] $_GET = [
    'r' => 'gii/default/view'
    'id' => 'model'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=gii'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '34944'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=gii%2Fdefault%2Fview&id=model'
    'REQUEST_URI' => '/index.php?r=gii%2Fdefault%2Fview&id=model'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587034873.117
    'REQUEST_TIME' => 1587034873
]
2020-04-16 11:01:27 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW TABLES
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `country`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'country' AND kcu.table_name = 'country'
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `language`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'language' AND kcu.table_name = 'language'
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `userrecoverpassword`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'userrecoverpassword' AND kcu.table_name = 'userrecoverpassword'
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `active_record`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `promocode`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `userrecoverpassword`
2020-04-16 11:01:27 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `scheduleddeploys`
2020-04-16 11:01:27 [::1][1][-][info][application] $_GET = [
    'r' => 'gii/default/view'
    'id' => 'model'
]

$_POST = [
    '_csrf' => 'TA_UrjdZje46RWxmq_xijsCdGWnSPEknRdEWku9BR2I-Q6zpUW_etlcpIS_0jFLMuPpAObh7PmAs5F_BggsfFQ=='
    'Generator' => [
        'tableName' => 'scheduleddeploys'
        'modelClass' => 'Scheduleddeploys'
        'standardizeCapitals' => '0'
        'ns' => 'app\\models'
        'baseClass' => 'yii\\db\\ActiveRecord'
        'db' => 'db'
        'useTablePrefix' => '0'
        'generateRelations' => 'all'
        'generateRelationsFromCurrentSchema' => '1'
        'generateLabelsFromComments' => '0'
        'generateQuery' => '0'
        'queryNs' => 'app\\models'
        'queryBaseClass' => 'yii\\db\\ActiveQuery'
        'enableI18N' => '0'
        'messageCategory' => 'app'
        'useSchemaName' => '1'
        'template' => 'default'
    ]
    'preview' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '824'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=gii%2Fdefault%2Fview&id=model'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '34962'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=gii%2Fdefault%2Fview&id=model'
    'REQUEST_URI' => '/index.php?r=gii%2Fdefault%2Fview&id=model'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587034887.593
    'REQUEST_TIME' => 1587034887
]
2020-04-16 11:01:37 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW TABLES
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `country`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'country' AND kcu.table_name = 'country'
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `language`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'language' AND kcu.table_name = 'language'
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `userrecoverpassword`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'userrecoverpassword' AND kcu.table_name = 'userrecoverpassword'
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `active_record`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `promocode`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `userrecoverpassword`
2020-04-16 11:01:37 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `scheduleddeploys`
2020-04-16 11:01:37 [::1][1][-][info][application] $_GET = [
    'r' => 'gii/default/view'
    'id' => 'model'
]

$_POST = [
    '_csrf' => 'ER9W2mdJwzv-dMR43v1a-l_D8Uv9YKDRl5BR75IO2GxjUy6dAX-QY5MYiTGBjWq4J6SoG5cn15b-pRi8_0SAGw=='
    'Generator' => [
        'tableName' => 'scheduleddeploys'
        'modelClass' => 'Scheduleddeploys'
        'standardizeCapitals' => '0'
        'ns' => 'app\\models'
        'baseClass' => 'yii\\db\\ActiveRecord'
        'db' => 'db'
        'useTablePrefix' => '0'
        'generateRelations' => 'all'
        'generateRelationsFromCurrentSchema' => '1'
        'generateLabelsFromComments' => '0'
        'generateQuery' => '0'
        'queryNs' => 'app\\models'
        'queryBaseClass' => 'yii\\db\\ActiveQuery'
        'enableI18N' => '0'
        'messageCategory' => 'app'
        'useSchemaName' => '1'
        'template' => 'default'
    ]
    'answers' => [
        'ceca4742456ce19f64dd2af5b4b670a7' => '1'
    ]
    'generate' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '873'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=gii%2Fdefault%2Fview&id=model'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '34968'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=gii%2Fdefault%2Fview&id=model'
    'REQUEST_URI' => '/index.php?r=gii%2Fdefault%2Fview&id=model'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587034897.29
    'REQUEST_TIME' => 1587034897
]
2020-04-16 11:06:05 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:06:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:06:05 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:06:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:06:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:06:05 [::1][1][-][info][application] $_GET = [
    'r' => 'gii/default/view'
    'id' => 'crud'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=gii%2Fdefault%2Fview&id=model'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '34992'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=gii%2Fdefault%2Fview&id=crud'
    'REQUEST_URI' => '/index.php?r=gii%2Fdefault%2Fview&id=crud'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035165.912
    'REQUEST_TIME' => 1587035165
]
2020-04-16 11:06:58 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:06:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:06:58 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:06:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:06:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:06:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
2020-04-16 11:06:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
2020-04-16 11:06:58 [::1][1][-][info][application] $_GET = [
    'r' => 'gii/default/view'
    'id' => 'crud'
]

$_POST = [
    '_csrf' => '94NPql5JBf8XjXTGFAMGQ6RhA0qdiVVmXCTfZnpeF5OFzzftOH9Wp3rhOY9LczYB3AZaGvfOIiE1EZY1FxRP5A=='
    'Generator' => [
        'modelClass' => 'app\\models\\Scheduleddeploys'
        'searchModelClass' => 'app\\models\\ScheduleddeploysSearch'
        'controllerClass' => 'app\\controllers\\ScheduleddeploysController'
        'viewPath' => '@app/views/scheduleddeploys'
        'baseControllerClass' => 'yii\\web\\Controller'
        'indexWidgetType' => 'grid'
        'enableI18N' => '0'
        'enablePjax' => '0'
        'messageCategory' => 'app'
        'template' => 'default'
    ]
    'preview' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '588'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=gii%2Fdefault%2Fview&id=crud'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35012'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=gii%2Fdefault%2Fview&id=crud'
    'REQUEST_URI' => '/index.php?r=gii%2Fdefault%2Fview&id=crud'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035218.618
    'REQUEST_TIME' => 1587035218
]
2020-04-16 11:07:18 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:07:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:07:18 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:07:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:07:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:07:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
2020-04-16 11:07:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
2020-04-16 11:07:18 [::1][1][-][info][application] $_GET = [
    'r' => 'gii/default/view'
    'id' => 'crud'
]

$_POST = [
    '_csrf' => '8a7zrZQrShVPzWjVk5ARbA-DrBntGEkcY5HKmAQECDCD4ovq8h0ZTSKhJZzM4CEud-T1SYdfPlsKpIPLaU5QRw=='
    'Generator' => [
        'modelClass' => 'app\\models\\Scheduleddeploys'
        'searchModelClass' => 'app\\models\\ScheduleddeploysSearch'
        'controllerClass' => 'app\\controllers\\ScheduleddeploysController'
        'viewPath' => '@app/views/scheduleddeploys'
        'baseControllerClass' => 'yii\\web\\Controller'
        'indexWidgetType' => 'grid'
        'enableI18N' => '0'
        'enablePjax' => '0'
        'messageCategory' => 'app'
        'template' => 'default'
    ]
    'answers' => [
        'd1183bd0f45897956f4646056f3fbda4' => '1'
        '0abc5135722331cb91f497519bd75ec3' => '1'
        'c987f1852802f1d3a3809b3bf809bba0' => '1'
        'd642b098bb79b5e334a57aedf772f2dc' => '1'
    ]
    'generate' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '781'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=gii%2Fdefault%2Fview&id=crud'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35020'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=gii%2Fdefault%2Fview&id=crud'
    'REQUEST_URI' => '/index.php?r=gii%2Fdefault%2Fview&id=crud'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035238.278
    'REQUEST_TIME' => 1587035238
]
2020-04-16 11:09:01 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:09:01 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:09:01 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:09:01 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:09:01 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:09:01 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:42
2020-04-16 11:09:01 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:42
2020-04-16 11:09:01 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `license`
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:46
2020-04-16 11:09:01 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` LIMIT 20
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:46
2020-04-16 11:09:01 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:46
2020-04-16 11:09:01 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:46
2020-04-16 11:09:01 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:46
2020-04-16 11:09:01 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:46
2020-04-16 11:09:01 [::1][1][-][info][application] $_GET = [
    'r' => 'license/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35038'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Findex'
    'REQUEST_URI' => '/index.php?r=license%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035341.122
    'REQUEST_TIME' => 1587035341
]
2020-04-16 11:09:03 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:301
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:301
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:301
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-16 11:09:03 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:59
2020-04-16 11:09:03 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35038'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035343.877
    'REQUEST_TIME' => 1587035343
]
2020-04-16 11:09:24 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:09:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:09:24 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:09:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:09:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:09:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:09:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:09:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:09:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:09:24 [::1][1][-][info][application] $_GET = [
    'r' => 'dashboard/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35052'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=dashboard%2Findex'
    'REQUEST_URI' => '/index.php?r=dashboard%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035364.712
    'REQUEST_TIME' => 1587035364
]
2020-04-16 11:10:00 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:00 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:00 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:00 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:10:00 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:10:00 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:10:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:10:00 [::1][1][-][info][application] $_GET = [
    'r' => 'dashboard/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35090'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=dashboard%2Findex'
    'REQUEST_URI' => '/index.php?r=dashboard%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035400.236
    'REQUEST_TIME' => 1587035400
]
2020-04-16 11:10:22 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:22 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:22 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:23 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:10:23 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:10:23 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:10:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:10:22 [::1][1][-][info][application] $_GET = [
    'r' => 'dashboard/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35102'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=dashboard%2Findex'
    'REQUEST_URI' => '/index.php?r=dashboard%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035422.991
    'REQUEST_TIME' => 1587035422
]
2020-04-16 11:10:47 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:47 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:10:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:10:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:10:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:10:47 [::1][1][-][info][application] $_GET = [
    'r' => 'dashboard/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35112'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=dashboard%2Findex'
    'REQUEST_URI' => '/index.php?r=dashboard%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035447.093
    'REQUEST_TIME' => 1587035447
]
2020-04-16 11:10:53 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:53 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:53 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:10:53 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:10:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:10:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:10:53 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:10:53 [::1][1][-][info][application] $_GET = [
    'r' => 'dashboard/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35122'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=dashboard%2Findex'
    'REQUEST_URI' => '/index.php?r=dashboard%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035453.792
    'REQUEST_TIME' => 1587035453
]
2020-04-16 11:11:10 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:11:10 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:11:10 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:11:10 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:11:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:11:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:11:10 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:11:10 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:11:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:11:10 [::1][1][-][info][application] $_GET = [
    'r' => 'dashboard/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35132'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=dashboard%2Findex'
    'REQUEST_URI' => '/index.php?r=dashboard%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035470.738
    'REQUEST_TIME' => 1587035470
]
2020-04-16 11:11:13 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:11:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:11:13 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:11:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:11:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:11:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:11:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:11:13 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:23
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:11:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:11:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:11:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:11:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:11:13 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35138'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035473.182
    'REQUEST_TIME' => 1587035473
]
2020-04-16 11:12:00 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:12:00 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:12:00 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:12:00 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:12:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:12:00 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:12:00 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:12:00 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:23
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:12:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:12:00 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:12:00 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:12:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:12:00 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35152'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035520.657
    'REQUEST_TIME' => 1587035520
]
2020-04-16 11:12:01 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:12:01 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:12:01 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:12:01 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:12:01 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:12:01 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:12:01 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:12:01 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:12:01 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:12:01 [::1][1][-][info][application] $_GET = [
    'r' => 'dashboard/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35158'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=dashboard%2Findex'
    'REQUEST_URI' => '/index.php?r=dashboard%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035521.947
    'REQUEST_TIME' => 1587035521
]
2020-04-16 11:12:03 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:12:03 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:12:03 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:12:03 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:12:03 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:12:03 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:12:03 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:12:03 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:23
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:12:03 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:12:03 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:12:03 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:12:03 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:12:03 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35158'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035523.47
    'REQUEST_TIME' => 1587035523
]
2020-04-16 11:13:40 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:13:40 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:13:40 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:13:40 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:13:40 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:13:40 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:13:40 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:13:40 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:13:40 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:13:40 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:13:40 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:13:40 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:13:40 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35178'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035620.642
    'REQUEST_TIME' => 1587035620
]
2020-04-16 11:13:53 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:13:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:13:53 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:13:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:13:53 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:13:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:13:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:13:53 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:13:53 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:13:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:13:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:13:53 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:13:53 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35194'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035633.417
    'REQUEST_TIME' => 1587035633
]
2020-04-16 11:15:01 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:01 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:01 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:01 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:01 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:01 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:15:01 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:15:01 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Setting unknown property: yii\grid\DataColumn::template in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/BaseObject.php:163
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/BaseYii.php(558): yii\base\BaseObject->__set()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/BaseObject.php(107): yii\BaseYii::configure()
#2 [internal function]: yii\base\BaseObject->__construct()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/di/Container.php(400): ReflectionClass->newInstanceArgs()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/di/Container.php(159): yii\di\Container->build()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/BaseYii.php(365): yii\di\Container->get()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/grid/GridView.php(550): yii\BaseYii::createObject()
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/grid/GridView.php(288): yii\grid\GridView->initColumns()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/BaseObject.php(109): yii\grid\GridView->init()
#9 [internal function]: yii\base\BaseObject->__construct()
#10 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/di/Container.php(400): ReflectionClass->newInstanceArgs()
#11 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/di/Container.php(159): yii\di\Container->build()
#12 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/BaseYii.php(365): yii\di\Container->get()
#13 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Widget.php(137): yii\BaseYii::createObject()
#14 /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php(18): yii\base\Widget::widget()
#15 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(348): require('/home/fmm/work/...')
#16 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile()
#17 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile()
#18 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(386): yii\base\View->render()
#19 /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php(43): yii\base\Controller->render()
#20 [internal function]: app\controllers\ScheduleddeploysController->actionIndex()
#21 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#22 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#23 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#24 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#25 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#26 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#27 {main}
2020-04-16 11:15:01 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35208'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035701.483
    'REQUEST_TIME' => 1587035701
]
2020-04-16 11:15:10 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:10 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:10 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:10 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:10 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:15:10 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:15:10 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:15:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:15:10 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:15:10 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:15:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:15:10 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35214'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035710.181
    'REQUEST_TIME' => 1587035710
]
2020-04-16 11:15:25 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:25 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:25 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:25 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:25 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:25 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:15:25 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:15:25 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:15:25 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:15:25 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:15:25 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:15:25 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:15:25 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35228'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035725.378
    'REQUEST_TIME' => 1587035725
]
2020-04-16 11:15:58 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:58 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:15:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:15:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:39
2020-04-16 11:15:58 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:15:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:15:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:15:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:15:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:43
2020-04-16 11:15:58 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35242'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587035758.094
    'REQUEST_TIME' => 1587035758
]
2020-04-16 11:27:35 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:35 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:35 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:35 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:35 [::1][1][-][info][application] $_GET = [
    'r' => 'gii'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35302'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=gii'
    'REQUEST_URI' => '/index.php?r=gii'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036455.505
    'REQUEST_TIME' => 1587036455
]
2020-04-16 11:27:37 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:37 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:37 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:37 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:37 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:37 [::1][1][-][info][yii\db\Command::query] SHOW TABLES
2020-04-16 11:27:37 [::1][1][-][info][application] $_GET = [
    'r' => 'gii/default/view'
    'id' => 'model'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=gii'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35302'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=gii%2Fdefault%2Fview&id=model'
    'REQUEST_URI' => '/index.php?r=gii%2Fdefault%2Fview&id=model'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036457.105
    'REQUEST_TIME' => 1587036457
]
2020-04-16 11:27:43 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW TABLES
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `country`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'country' AND kcu.table_name = 'country'
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `language`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'language' AND kcu.table_name = 'language'
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `userrecoverpassword`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'userrecoverpassword' AND kcu.table_name = 'userrecoverpassword'
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `active_record`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `promocode`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `scheduleddeploys`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `userrecoverpassword`
2020-04-16 11:27:43 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `scheduleddeploys`
2020-04-16 11:27:43 [::1][1][-][info][application] $_GET = [
    'r' => 'gii/default/view'
    'id' => 'model'
]

$_POST = [
    '_csrf' => 'duys8LvNjuYvYArkBo_6vlFc5GOx_rZKbbdMWMUEaFAEoNS33fvdvkIMR61Z_8r8KTu9M9u5wQ0EggULqE4wJw=='
    'Generator' => [
        'tableName' => 'scheduleddeploys'
        'modelClass' => 'Scheduleddeploys'
        'standardizeCapitals' => '0'
        'ns' => 'app\\models'
        'baseClass' => 'yii\\db\\ActiveRecord'
        'db' => 'db'
        'useTablePrefix' => '0'
        'generateRelations' => 'all'
        'generateRelationsFromCurrentSchema' => '1'
        'generateLabelsFromComments' => '0'
        'generateQuery' => '0'
        'queryNs' => 'app\\models'
        'queryBaseClass' => 'yii\\db\\ActiveQuery'
        'enableI18N' => '0'
        'messageCategory' => 'app'
        'useSchemaName' => '1'
        'template' => 'default'
    ]
    'preview' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '824'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=gii%2Fdefault%2Fview&id=model'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35312'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=gii%2Fdefault%2Fview&id=model'
    'REQUEST_URI' => '/index.php?r=gii%2Fdefault%2Fview&id=model'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036463.633
    'REQUEST_TIME' => 1587036463
]
2020-04-16 11:27:48 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW TABLES
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `country`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'country' AND kcu.table_name = 'country'
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `language`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'language' AND kcu.table_name = 'language'
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `userrecoverpassword`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'userrecoverpassword' AND kcu.table_name = 'userrecoverpassword'
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `active_record`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `promocode`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `scheduleddeploys`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `userrecoverpassword`
2020-04-16 11:27:48 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `scheduleddeploys`
2020-04-16 11:27:48 [::1][1][-][info][application] $_GET = [
    'r' => 'gii/default/view'
    'id' => 'model'
]

$_POST = [
    '_csrf' => 'DCcPoWg56BDdjHoRIncAbXP31Z3TEKtlVAJ2G5EGGPZ-a3fmDg-7SLDgN1h9BzAvC5CMzblX3CI9Nz9I_ExAgQ=='
    'Generator' => [
        'tableName' => 'scheduleddeploys'
        'modelClass' => 'Scheduleddeploys'
        'standardizeCapitals' => '0'
        'ns' => 'app\\models'
        'baseClass' => 'yii\\db\\ActiveRecord'
        'db' => 'db'
        'useTablePrefix' => '0'
        'generateRelations' => 'all'
        'generateRelationsFromCurrentSchema' => '1'
        'generateLabelsFromComments' => '0'
        'generateQuery' => '0'
        'queryNs' => 'app\\models'
        'queryBaseClass' => 'yii\\db\\ActiveQuery'
        'enableI18N' => '0'
        'messageCategory' => 'app'
        'useSchemaName' => '1'
        'template' => 'default'
    ]
    'answers' => [
        'ceca4742456ce19f64dd2af5b4b670a7' => '1'
    ]
    'generate' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '873'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=gii%2Fdefault%2Fview&id=model'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35312'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=gii%2Fdefault%2Fview&id=model'
    'REQUEST_URI' => '/index.php?r=gii%2Fdefault%2Fview&id=model'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036468.061
    'REQUEST_TIME' => 1587036468
]
2020-04-16 11:28:34 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:28:34 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:28:34 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:28:34 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:28:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:28:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:28:34 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:28:34 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:28:34 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:28:34 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:28:34 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 11:28:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 11:28:34 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35336'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036514.244
    'REQUEST_TIME' => 1587036514
]
2020-04-16 11:29:08 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:29:08 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:29:08 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:29:08 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:29:08 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:29:08 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:29:08 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:29:08 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:29:08 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:29:08 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:29:08 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 11:29:08 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 11:29:08 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35372'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036548.579
    'REQUEST_TIME' => 1587036548
]
2020-04-16 11:30:27 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:30:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:30:27 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:30:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:30:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:30:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:30:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:30:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:30:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:30:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:30:27 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 11:30:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 11:30:27 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35388'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036627.009
    'REQUEST_TIME' => 1587036627
]
2020-04-16 11:30:58 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:30:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:30:58 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:30:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:30:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:30:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:30:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:30:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:30:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:30:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:30:58 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 11:30:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 11:30:58 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35402'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036658.706
    'REQUEST_TIME' => 1587036658
]
2020-04-16 11:32:01 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:32:01 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:32:01 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:32:01 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:32:01 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:32:01 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:32:01 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:32:01 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:32:01 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:32:01 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:32:01 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 11:32:01 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 11:32:01 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35418'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036721.775
    'REQUEST_TIME' => 1587036721
]
2020-04-16 11:33:28 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:33:28 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:33:28 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:33:28 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:33:28 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:33:28 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:43
2020-04-16 11:33:28 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:43
2020-04-16 11:33:28 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `license`
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:33:28 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` LIMIT 20
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:33:28 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:33:28 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:33:28 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:33:28 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:33:28 [::1][1][-][info][application] $_GET = [
    'r' => 'license/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35444'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Findex'
    'REQUEST_URI' => '/index.php?r=license%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036808.102
    'REQUEST_TIME' => 1587036808
]
2020-04-16 11:33:31 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:33:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:33:31 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35444'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036811.496
    'REQUEST_TIME' => 1587036811
]
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=2
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:260
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:280
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:280
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Setting unknown property: app\models\Scheduleddeploys::subdomain in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Component.php:209
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/db/BaseActiveRecord.php(324): yii\base\Component->__set()
#1 /home/fmm/work/dpo/portal/controllers/LicenseController.php(281): yii\db\BaseActiveRecord->__set()
#2 [internal function]: app\controllers\LicenseController->actionDeploy()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#8 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#9 {main}
2020-04-16 11:33:33 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35444'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036813.696
    'REQUEST_TIME' => 1587036813
]
2020-04-16 11:34:06 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:34:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:34:06 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35460'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036846.113
    'REQUEST_TIME' => 1587036846
]
2020-04-16 11:35:29 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:29 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35466'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036929.002
    'REQUEST_TIME' => 1587036929
]
2020-04-16 11:35:30 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:30 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:30 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:30 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:30 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:30 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:43
2020-04-16 11:35:30 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:43
2020-04-16 11:35:30 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `license`
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:35:30 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` LIMIT 20
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:35:30 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:35:30 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:35:30 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:35:30 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:35:30 [::1][1][-][info][application] $_GET = [
    'r' => 'license/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=1'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35472'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Findex'
    'REQUEST_URI' => '/index.php?r=license%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036930.791
    'REQUEST_TIME' => 1587036930
]
2020-04-16 11:35:36 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:36 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:36 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:36 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:36 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:43
2020-04-16 11:35:36 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:43
2020-04-16 11:35:36 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `license`
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:35:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` LIMIT 20 OFFSET 20
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:35:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:35:36 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:35:36 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:35:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 11:35:36 [::1][1][-][info][application] $_GET = [
    'r' => 'license/index'
    'page' => '2'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35484'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Findex&page=2'
    'REQUEST_URI' => '/index.php?r=license%2Findex&page=2'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036936.352
    'REQUEST_TIME' => 1587036936
]
2020-04-16 11:35:40 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='37'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=37
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:40 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:35:40 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '37'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex&page=2'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35484'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=37'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=37'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036940.91
    'REQUEST_TIME' => 1587036940
]
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='37'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=37
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=38
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:260
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:280
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:280
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: app\models\Scheduleddeploys::domain in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Component.php:154
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/db/BaseActiveRecord.php(298): yii\base\Component->__get()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/validators/Validator.php(303): yii\db\BaseActiveRecord->__get()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/validators/Validator.php(257): yii\validators\Validator->validateAttribute()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Model.php(367): yii\validators\Validator->validateAttributes()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/db/ActiveRecord.php(560): yii\base\Model->validate()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/db/BaseActiveRecord.php(678): yii\db\ActiveRecord->insert()
#6 /home/fmm/work/dpo/portal/controllers/LicenseController.php(284): yii\db\BaseActiveRecord->save()
#7 [internal function]: app\controllers\LicenseController->actionDeploy()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#9 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#10 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#11 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#12 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#13 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#14 {main}
2020-04-16 11:35:42 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '37'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=37'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35484'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=37'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=37'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036942.322
    'REQUEST_TIME' => 1587036942
]
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='37'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=37
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=38
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:260
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:280
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:280
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: app\models\Scheduleddeploys::domain in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Component.php:154
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/db/BaseActiveRecord.php(298): yii\base\Component->__get()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/validators/Validator.php(303): yii\db\BaseActiveRecord->__get()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/validators/Validator.php(257): yii\validators\Validator->validateAttribute()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Model.php(367): yii\validators\Validator->validateAttributes()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/db/ActiveRecord.php(560): yii\base\Model->validate()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/db/BaseActiveRecord.php(678): yii\db\ActiveRecord->insert()
#6 /home/fmm/work/dpo/portal/controllers/LicenseController.php(284): yii\db\BaseActiveRecord->save()
#7 [internal function]: app\controllers\LicenseController->actionDeploy()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#9 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#10 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#11 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#12 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#13 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#14 {main}
2020-04-16 11:36:06 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '37'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=37'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35498'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=37'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=37'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036966.754
    'REQUEST_TIME' => 1587036966
]
2020-04-16 11:36:29 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='37'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=37
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=38
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:260
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:280
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:280
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `license` WHERE `license`.`id`=37)
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::execute] INSERT INTO `scheduleddeploys` (`fk_license_id`, `subdomain`, `params`, `email`) VALUES (37, 't31', '-d=t31 -dp=/home/fmm/work/dpo/portal/subdomains/t31 -fn=65465465 -em=t31@t31.pt -ph=54654 -url=https://t31.dpoagenda.eu -l=pt -dbsn=localhost -dbsp=3306 -dbu=dpoagend_Usr -dbp=dpoAgenda!2019 -db=db_t31 -ts=1 -csd=37', 't31@t31.pt')
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 11:36:29 [::1][1][-][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '37'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => -1
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
    'success' => 'Deploy has been scheduled.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=37'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35504'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=37'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=37'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036989.569
    'REQUEST_TIME' => 1587036989
]
2020-04-16 11:36:29 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='37'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=37
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:36:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 11:36:29 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '37'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => 1
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
    'success' => 'Deploy has been scheduled.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=37'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35504'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=37'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=37'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036989.616
    'REQUEST_TIME' => 1587036989
]
2020-04-16 11:36:34 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:34 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:34 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:34 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:36:34 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:36:34 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:36:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 11:36:34 [::1][1][-][info][application] $_GET = [
    'r' => 'dashboard/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=37'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35514'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=dashboard%2Findex'
    'REQUEST_URI' => '/index.php?r=dashboard%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036994.658
    'REQUEST_TIME' => 1587036994
]
2020-04-16 11:36:35 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:35 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:35 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:35 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:35 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:35 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:36:35 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:36:35 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:36:35 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:36:35 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:36:35 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: app\models\ScheduleddeploysSearch::domain in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Component.php:154
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/db/BaseActiveRecord.php(298): yii\base\Component->__get()
#1 /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php(68): yii\db\BaseActiveRecord->__get()
#2 /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php(49): app\models\ScheduleddeploysSearch->search()
#3 [internal function]: app\controllers\ScheduleddeploysController->actionIndex()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#9 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#10 {main}
2020-04-16 11:36:35 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35514'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587036995.526
    'REQUEST_TIME' => 1587036995
]
2020-04-16 11:36:46 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:46 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:46 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:46 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:46 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:36:46 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:36:46 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:36:46 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:36:46 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:36:46 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:36:46 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: app\models\ScheduleddeploysSearch::domain in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Component.php:154
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/db/BaseActiveRecord.php(298): yii\base\Component->__get()
#1 /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php(68): yii\db\BaseActiveRecord->__get()
#2 /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php(49): app\models\ScheduleddeploysSearch->search()
#3 [internal function]: app\controllers\ScheduleddeploysController->actionIndex()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#9 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#10 {main}
2020-04-16 11:36:46 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35530'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587037006.342
    'REQUEST_TIME' => 1587037006
]
2020-04-16 11:37:08 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:37:08 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:37:08 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:37:08 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:37:08 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:37:08 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:37:08 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:37:08 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:37:08 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:37:08 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:37:08 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: app\models\ScheduleddeploysSearch::domain in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Component.php:154
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/db/BaseActiveRecord.php(298): yii\base\Component->__get()
#1 /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php(68): yii\db\BaseActiveRecord->__get()
#2 /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php(49): app\models\ScheduleddeploysSearch->search()
#3 [internal function]: app\controllers\ScheduleddeploysController->actionIndex()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#9 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#10 {main}
2020-04-16 11:37:08 [::1][1][ab0kvg702mcs7udfm3ie7coo0h][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35542'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587037028.369
    'REQUEST_TIME' => 1587037028
]
2020-04-16 11:37:19 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:37:19 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:37:19 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:37:19 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:37:19 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:37:19 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:37:19 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:37:19 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:37:19 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:37:19 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:37:19 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 11:37:19 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 11:37:19 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 11:37:19 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35550'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587037039.313
    'REQUEST_TIME' => 1587037039
]
2020-04-16 11:39:53 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW TABLES
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `country`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'country' AND kcu.table_name = 'country'
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `language`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'language' AND kcu.table_name = 'language'
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `userrecoverpassword`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'userrecoverpassword' AND kcu.table_name = 'userrecoverpassword'
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `active_record`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `promocode`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `scheduleddeploys`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `userrecoverpassword`
2020-04-16 11:39:53 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `scheduleddeploys`
2020-04-16 11:39:53 [::1][1][-][info][application] $_GET = [
    'r' => 'gii/default/view'
    'id' => 'model'
]

$_POST = [
    '_csrf' => 'GL8Ekv2DSv64eALyE-YmYlH4SNXkrT8LZNN-eDQRYyFq83zVm7UZptUUT7tMlhYgKZ8RhY7qSEwN5jcrWVs7Vg=='
    'Generator' => [
        'tableName' => 'scheduleddeploys'
        'modelClass' => 'Scheduleddeploys'
        'standardizeCapitals' => '0'
        'ns' => 'app\\models'
        'baseClass' => 'yii\\db\\ActiveRecord'
        'db' => 'db'
        'useTablePrefix' => '0'
        'generateRelations' => 'all'
        'generateRelationsFromCurrentSchema' => '1'
        'generateLabelsFromComments' => '0'
        'generateQuery' => '0'
        'queryNs' => 'app\\models'
        'queryBaseClass' => 'yii\\db\\ActiveQuery'
        'enableI18N' => '0'
        'messageCategory' => 'app'
        'useSchemaName' => '1'
        'template' => 'default'
    ]
    'preview' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '824'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=gii%2Fdefault%2Fview&id=model'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35574'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=gii%2Fdefault%2Fview&id=model'
    'REQUEST_URI' => '/index.php?r=gii%2Fdefault%2Fview&id=model'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587037193.653
    'REQUEST_TIME' => 1587037193
]
2020-04-16 11:39:58 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW TABLES
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `country`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'country' AND kcu.table_name = 'country'
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `language`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'language' AND kcu.table_name = 'language'
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `userrecoverpassword`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'userrecoverpassword' AND kcu.table_name = 'userrecoverpassword'
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `active_record`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `accountmovement`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `client`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `consultant`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `license`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `promocode`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `sale`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `scheduleddeploys`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `userrecoverpassword`
2020-04-16 11:39:58 [::1][1][-][info][yii\db\Command::query] SHOW CREATE TABLE `scheduleddeploys`
2020-04-16 11:39:58 [::1][1][-][info][application] $_GET = [
    'r' => 'gii/default/view'
    'id' => 'model'
]

$_POST = [
    '_csrf' => '160ShaBTtsv8YfzhSBfiRcGzw1-1T6AvvXYncRjV6uyl4WrCxmXlk5ENsagXZ9IHudSaD98I12jUQ24idZ-ymw=='
    'Generator' => [
        'tableName' => 'scheduleddeploys'
        'modelClass' => 'Scheduleddeploys'
        'standardizeCapitals' => '0'
        'ns' => 'app\\models'
        'baseClass' => 'yii\\db\\ActiveRecord'
        'db' => 'db'
        'useTablePrefix' => '0'
        'generateRelations' => 'all'
        'generateRelationsFromCurrentSchema' => '1'
        'generateLabelsFromComments' => '0'
        'generateQuery' => '0'
        'queryNs' => 'app\\models'
        'queryBaseClass' => 'yii\\db\\ActiveQuery'
        'enableI18N' => '0'
        'messageCategory' => 'app'
        'useSchemaName' => '1'
        'template' => 'default'
    ]
    'answers' => [
        'ceca4742456ce19f64dd2af5b4b670a7' => '1'
    ]
    'generate' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '873'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=gii%2Fdefault%2Fview&id=model'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35574'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=gii%2Fdefault%2Fview&id=model'
    'REQUEST_URI' => '/index.php?r=gii%2Fdefault%2Fview&id=model'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587037198.239
    'REQUEST_TIME' => 1587037198
]
2020-04-16 11:40:57 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:40:57 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:40:57 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:40:57 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:40:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 11:40:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:40:57 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:40:57 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 11:40:57 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:40:57 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 11:40:57 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 11:40:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 11:40:57 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35596'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587037257.955
    'REQUEST_TIME' => 1587037257
]
2020-04-16 13:28:43 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:28:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:28:43 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:28:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:28:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:28:43 [::1][1][-][info][yii\web\User::loginByCookie] User '1' logged in from ::1 via cookie.
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:28:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:28:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:28:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:28:43 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:28:43 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:28:43 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:28:43 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:28:43 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'ab0kvg702mcs7udfm3ie7coo0h'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=ab0kvg702mcs7udfm3ie7coo0h; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36382'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587043723
    'REQUEST_TIME' => 1587043723
]
2020-04-16 13:28:56 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:28:56 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:28:56 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:28:56 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:28:56 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:28:56 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/models/SaleSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:40
2020-04-16 13:28:56 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/models/SaleSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:40
2020-04-16 13:28:56 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client`
    in /home/fmm/work/dpo/portal/views/sale/index.php:28
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:56 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant`
    in /home/fmm/work/dpo/portal/views/sale/index.php:37
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` ORDER BY `name`
    in /home/fmm/work/dpo/portal/views/sale/index.php:50
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/sale/index.php:50
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/sale/index.php:50
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `sale`
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` ORDER BY `updated_on` DESC, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=15
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:28:56 [::1][1][-][info][application] $_GET = [
    'r' => 'sale/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36410'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=sale%2Findex'
    'REQUEST_URI' => '/index.php?r=sale%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587043736.105
    'REQUEST_TIME' => 1587043736
]
2020-04-16 13:29:02 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:145
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:56
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:145
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:56
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:145
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:56
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:103
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:59
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:103
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:59
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/sale/view.php:17
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/sale/view.php:17
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/sale/view.php:17
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/view.php:32
    in /home/fmm/work/dpo/portal/views/sale/view.php:91
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=15
    in /home/fmm/work/dpo/portal/views/sale/view.php:40
    in /home/fmm/work/dpo/portal/views/sale/view.php:91
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/views/sale/view.php:40
    in /home/fmm/work/dpo/portal/views/sale/view.php:91
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/views/sale/view.php:40
    in /home/fmm/work/dpo/portal/views/sale/view.php:91
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/view.php:48
    in /home/fmm/work/dpo/portal/views/sale/view.php:91
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/sale/view.php:48
    in /home/fmm/work/dpo/portal/views/sale/view.php:91
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/sale/view.php:48
    in /home/fmm/work/dpo/portal/views/sale/view.php:91
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/view.php:90
    in /home/fmm/work/dpo/portal/views/sale/view.php:91
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `license` WHERE `fk_sale_id`=18
    in /home/fmm/work/dpo/portal/views/sale/view.php:150
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=18 ORDER BY `updated_on` DESC, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/sale/view.php:150
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-16 13:29:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:64
2020-04-16 13:29:02 [::1][1][-][info][application] $_GET = [
    'r' => 'sale/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=sale%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36430'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=sale%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=sale%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587043742.805
    'REQUEST_TIME' => 1587043742
]
2020-04-16 13:29:05 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/models/SaleSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:40
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/models/SaleSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:40
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client`
    in /home/fmm/work/dpo/portal/views/sale/index.php:28
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant`
    in /home/fmm/work/dpo/portal/views/sale/index.php:37
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` ORDER BY `name`
    in /home/fmm/work/dpo/portal/views/sale/index.php:50
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/sale/index.php:50
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/sale/index.php:50
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `sale`
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` ORDER BY `updated_on` DESC, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=15
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:29:05 [::1][1][-][info][application] $_GET = [
    'r' => 'sale/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=sale%2Fview&id=18'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36430'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=sale%2Findex'
    'REQUEST_URI' => '/index.php?r=sale%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587043745.367
    'REQUEST_TIME' => 1587043745
]
2020-04-16 13:29:07 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:07 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:07 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:07 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:07 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:07 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:43
2020-04-16 13:29:07 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:43
2020-04-16 13:29:07 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `license`
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 13:29:07 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` LIMIT 20
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 13:29:07 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 13:29:07 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 13:29:07 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 13:29:07 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 13:29:07 [::1][1][-][info][application] $_GET = [
    'r' => 'license/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=sale%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36430'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Findex'
    'REQUEST_URI' => '/index.php?r=license%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587043747.168
    'REQUEST_TIME' => 1587043747
]
2020-04-16 13:29:10 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:10 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36430'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587043750.324
    'REQUEST_TIME' => 1587043750
]
2020-04-16 13:29:13 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=19
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:260
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:280
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:280
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `license` WHERE `license`.`id`=18)
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::execute] INSERT INTO `scheduleddeploys` (`fk_license_id`, `subdomain`, `params`, `email`) VALUES (18, 't39', '-d=t39 -dp=/home/fmm/work/dpo/portal/subdomains/t39 -fn=6465655 -em=t30@t30.pt -ph=556654 -url=https://t39.dpoagenda.eu -l=pt -dbsn=localhost -dbsp=3306 -dbu=dpoagend_Usr -dbp=dpoAgenda!2019 -db=db_t39 -ts=1 -csd=18', 't30@t30.pt')
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 13:29:13 [::1][1][-][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => -1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => 'Deploy has been scheduled.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=18'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36430'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587043753.633
    'REQUEST_TIME' => 1587043753
]
2020-04-16 13:29:13 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:13 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => 1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => 'Deploy has been scheduled.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=18'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36430'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587043753.677
    'REQUEST_TIME' => 1587043753
]
2020-04-16 13:29:15 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:15 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:15 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:15 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:15 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:15 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 13:29:15 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 13:29:15 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 13:29:15 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 13:29:15 [::1][1][-][info][application] $_GET = [
    'r' => 'dashboard/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=18'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36430'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=dashboard%2Findex'
    'REQUEST_URI' => '/index.php?r=dashboard%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587043755.858
    'REQUEST_TIME' => 1587043755
]
2020-04-16 13:29:16 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:16 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:16 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:16 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:16 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:16 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:29:16 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:29:16 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:29:16 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:29:16 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:29:16 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:29:16 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:29:16 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:29:16 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36430'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587043756.711
    'REQUEST_TIME' => 1587043756
]
2020-04-16 13:29:23 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:29:23 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36476'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587043763.072
    'REQUEST_TIME' => 1587043763
]
2020-04-16 13:29:24 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:24 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:29:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:29:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:29:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:29:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:29:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:29:24 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:29:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:29:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:29:24 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36476'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587043764.867
    'REQUEST_TIME' => 1587043764
]
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][error][Error] Error: Class 'app\models\Scheduleddeploy' not found in /home/fmm/work/dpo/portal/models/License.php:119
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Component.php(139): app\models\License->getDeploys()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/db/BaseActiveRecord.php(298): yii\base\Component->__get()
#2 /home/fmm/work/dpo/portal/views/license/view.php(22): yii\db\BaseActiveRecord->__get()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(348): require('/home/fmm/work/...')
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(386): yii\base\View->render()
#7 /home/fmm/work/dpo/portal/controllers/LicenseController.php(60): yii\base\Controller->render()
#8 [internal function]: app\controllers\LicenseController->actionView()
#9 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#10 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#11 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#12 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#13 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#14 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#15 {main}
2020-04-16 13:32:45 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36518'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587043965.908
    'REQUEST_TIME' => 1587043965
]
2020-04-16 13:32:58 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/views/license/view.php:72
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:32:58 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36528'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587043978.842
    'REQUEST_TIME' => 1587043978
]
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][error][yii\base\ErrorException:8] yii\base\ErrorException: Trying to get property 'count' of non-object in /home/fmm/work/dpo/portal/views/license/view.php:22
Stack trace:
#0 /home/fmm/work/dpo/portal/views/license/view.php(22): yii\web\ErrorHandler->handleError()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(348): app\view\MainView->unknown()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(257): app\view\MainView->renderPhpFile()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(156): app\view\MainView->renderFile()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(386): app\view\MainView->render()
#5 /home/fmm/work/dpo/portal/controllers/LicenseController.php(60): app\controllers\LicenseController->render()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): app\controllers\LicenseController->actionView()
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): ::call_user_func_array:{/home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php:57}()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#9 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): app\controllers\LicenseController->runAction()
#10 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\web\Application->runAction()
#11 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#12 /home/fmm/work/dpo/portal/web/index.php(12): yii\web\Application->run()
#13 {main}
2020-04-16 13:33:11 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36542'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587043991.011
    'REQUEST_TIME' => 1587043991
]
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][error][yii\base\ErrorException:8] yii\base\ErrorException: Trying to get property 'total' of non-object in /home/fmm/work/dpo/portal/views/license/view.php:22
Stack trace:
#0 /home/fmm/work/dpo/portal/views/license/view.php(22): yii\web\ErrorHandler->handleError()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(348): app\view\MainView->unknown()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(257): app\view\MainView->renderPhpFile()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(156): app\view\MainView->renderFile()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(386): app\view\MainView->render()
#5 /home/fmm/work/dpo/portal/controllers/LicenseController.php(60): app\controllers\LicenseController->render()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): app\controllers\LicenseController->actionView()
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): ::call_user_func_array:{/home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php:57}()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#9 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): app\controllers\LicenseController->runAction()
#10 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\web\Application->runAction()
#11 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#12 /home/fmm/work/dpo/portal/web/index.php(12): yii\web\Application->run()
#13 {main}
2020-04-16 13:33:15 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36550'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587043995.286
    'REQUEST_TIME' => 1587043995
]
2020-04-16 13:33:20 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/views/license/view.php:72
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:20 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36556'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044000.416
    'REQUEST_TIME' => 1587044000
]
2020-04-16 13:33:36 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='19'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=19
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=19
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:71
    in /home/fmm/work/dpo/portal/views/license/view.php:72
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:36 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:33:36 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '19'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36568'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=19'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=19'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044016.861
    'REQUEST_TIME' => 1587044016
]
2020-04-16 13:34:00 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='19'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=19
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=19
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:73
    in /home/fmm/work/dpo/portal/views/license/view.php:74
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:00 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '19'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36576'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=19'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=19'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044040.104
    'REQUEST_TIME' => 1587044040
]
2020-04-16 13:34:02 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/views/license/view.php:22
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:73
    in /home/fmm/work/dpo/portal/views/license/view.php:74
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:02 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36582'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044042.802
    'REQUEST_TIME' => 1587044042
]
2020-04-16 13:34:21 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:73
    in /home/fmm/work/dpo/portal/views/license/view.php:74
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:21 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36596'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044061.468
    'REQUEST_TIME' => 1587044061
]
2020-04-16 13:34:22 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:73
    in /home/fmm/work/dpo/portal/views/license/view.php:74
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:22 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36602'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044062.578
    'REQUEST_TIME' => 1587044062
]
2020-04-16 13:34:27 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:73
    in /home/fmm/work/dpo/portal/views/license/view.php:74
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:27 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36596'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044067.126
    'REQUEST_TIME' => 1587044067
]
2020-04-16 13:34:35 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:35 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36616'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044075.186
    'REQUEST_TIME' => 1587044075
]
2020-04-16 13:34:38 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='19'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=19
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=19
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:38 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:38 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '19'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36622'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=19'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=19'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044078.606
    'REQUEST_TIME' => 1587044078
]
2020-04-16 13:34:45 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:45 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:45 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:45 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:45 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:45 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 13:34:45 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 13:34:45 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 13:34:45 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 13:34:45 [::1][1][-][info][application] $_GET = [
    'r' => 'dashboard/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=19'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36632'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=dashboard%2Findex'
    'REQUEST_URI' => '/index.php?r=dashboard%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044085.213
    'REQUEST_TIME' => 1587044085
]
2020-04-16 13:34:46 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:46 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:46 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:46 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:46 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:46 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:34:46 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:34:46 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:34:46 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:34:46 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:34:46 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:34:46 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:34:46 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:34:46 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36632'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044086.365
    'REQUEST_TIME' => 1587044086
]
2020-04-16 13:34:47 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:34:47 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36632'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044087.785
    'REQUEST_TIME' => 1587044087
]
2020-04-16 13:40:08 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:08 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36696'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044408.766
    'REQUEST_TIME' => 1587044408
]
2020-04-16 13:40:10 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request: scheduleddeploys/list in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php:128
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#3 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#4 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-04-16 13:40:10 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:10 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:10 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:10 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:10 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:10 [::1][1][tv4qbv458nnhs7tf4dfe95ms48][info][application] $_GET = [
    'r' => 'scheduleddeploys/list'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=18'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36702'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Flist'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Flist'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044410.838
    'REQUEST_TIME' => 1587044410
]
2020-04-16 13:40:15 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:15 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36716'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044415.918
    'REQUEST_TIME' => 1587044415
]
2020-04-16 13:40:21 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='18'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=18
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:40:21 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '18'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36726'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=18'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=18'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044421.791
    'REQUEST_TIME' => 1587044421
]
2020-04-16 13:40:23 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:23 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:23 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:23 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:40:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:40:23 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:40:23 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:40:23 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:40:23 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:53
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:40:23 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:40:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:40:23 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:40:23 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=18'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36732'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044423.271
    'REQUEST_TIME' => 1587044423
]
2020-04-16 13:43:13 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/models/SaleSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:40
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/models/SaleSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:40
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client`
    in /home/fmm/work/dpo/portal/views/sale/index.php:28
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant`
    in /home/fmm/work/dpo/portal/views/sale/index.php:37
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` ORDER BY `name`
    in /home/fmm/work/dpo/portal/views/sale/index.php:50
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/sale/index.php:50
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/sale/index.php:50
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `sale`
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` ORDER BY `updated_on` DESC, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=14
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=15
    in /home/fmm/work/dpo/portal/views/sale/index.php:30
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:39
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/sale/index.php:47
    in /home/fmm/work/dpo/portal/views/sale/index.php:120
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/SaleController.php:44
2020-04-16 13:43:13 [::1][1][-][info][application] $_GET = [
    'r' => 'sale/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36766'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=sale%2Findex'
    'REQUEST_URI' => '/index.php?r=sale%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044593.369
    'REQUEST_TIME' => 1587044593
]
2020-04-16 13:43:14 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:14 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:14 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:14 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:14 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:14 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:43
2020-04-16 13:43:14 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:43
2020-04-16 13:43:14 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `license`
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 13:43:14 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` LIMIT 20
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 13:43:14 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 13:43:14 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 13:43:14 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 13:43:14 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 13:43:14 [::1][1][-][info][application] $_GET = [
    'r' => 'license/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=sale%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36766'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Findex'
    'REQUEST_URI' => '/index.php?r=license%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044594.877
    'REQUEST_TIME' => 1587044594
]
2020-04-16 13:43:16 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='4'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=4
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=4
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:16 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:16 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '4'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36766'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=4'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=4'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044596.526
    'REQUEST_TIME' => 1587044596
]
2020-04-16 13:43:18 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='4'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=4
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:258
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=3
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:259
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=5
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:260
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:280
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:280
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `license` WHERE `license`.`id`=4)
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::execute] INSERT INTO `scheduleddeploys` (`fk_license_id`, `subdomain`, `params`, `email`) VALUES (4, 'eupago1', '-d=eupago1 -dp=/home/fmm/work/dpo/portal/subdomains/eupago1 -fn=654654 -em=demo-fm@dpoagenda.pt -ph=654654 -url=https://eupago1.dpoagenda.eu -l=pt -dbsn=localhost -dbsp=3306 -dbu=dpoagend_Usr -dbp=dpoAgenda!2019 -db=db_eupago1 -ts=1 -csd=4', 'demo-fm@dpoagenda.pt')
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 13:43:18 [::1][1][-][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '4'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => -1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => 'Deploy has been scheduled.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=4'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36766'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=4'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=4'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044598.219
    'REQUEST_TIME' => 1587044598
]
2020-04-16 13:43:18 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='4'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=4
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=4
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 13:43:18 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '4'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => 1
    ]
    '__id' => 1
    'ApplicationLanguage' => 'en'
    'success' => 'Deploy has been scheduled.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=4'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36766'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=4'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=4'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044598.248
    'REQUEST_TIME' => 1587044598
]
2020-04-16 13:43:20 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:20 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:20 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:20 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:20 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:20 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:43:20 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:43:20 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:43:20 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:43:20 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:43:20 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:43:20 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` ORDER BY `deployed_on`, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:43:20 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:43:20 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=4'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36766'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044600.374
    'REQUEST_TIME' => 1587044600
]
2020-04-16 13:43:29 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:29 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:43:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:43:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:43:29 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:134
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:66
2020-04-16 13:43:29 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:134
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:66
2020-04-16 13:43:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:134
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:66
2020-04-16 13:43:29 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:66
2020-04-16 13:43:29 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36794'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044609.576
    'REQUEST_TIME' => 1587044609
]
2020-04-16 13:43:57 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:57 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:57 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:57 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:43:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:43:57 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:43:57 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:43:57 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:134
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:66
2020-04-16 13:43:57 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:134
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:66
2020-04-16 13:43:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:134
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:66
2020-04-16 13:43:57 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:66
2020-04-16 13:43:57 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/view'
    'id' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36800'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Fview&id=1'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Fview&id=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044637.209
    'REQUEST_TIME' => 1587044637
]
2020-04-16 13:44:10 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:44:10 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:44:10 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:44:10 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:44:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:44:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:44:10 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:44:10 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:44:10 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:44:10 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:44:10 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:44:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` ORDER BY `deployed_on`, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:44:10 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:44:10 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Fview&id=1'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36814'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044650.207
    'REQUEST_TIME' => 1587044650
]
2020-04-16 13:45:14 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:45:14 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:45:14 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:45:14 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:45:14 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:45:14 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:45:14 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:45:14 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:45:14 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:45:14 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:45:14 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:45:14 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` ORDER BY `deployed_on`, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:45:14 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:45:14 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Fview&id=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36848'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044714.062
    'REQUEST_TIME' => 1587044714
]
2020-04-16 13:45:21 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:45:21 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:45:21 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:45:21 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:45:21 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:45:22 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:45:22 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:45:22 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:45:22 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:45:22 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:45:22 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys` WHERE `message` LIKE '%d%'
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:45:22 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `message` LIKE '%d%' ORDER BY `deployed_on`, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:45:22 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:45:21 [::1][1][-][info][application] $_GET = [
    'ScheduleddeploysSearch' => [
        'subdomain' => ''
        'params' => ''
        'email' => ''
        'message' => 'd'
        'created_on' => ''
        'deployed_on' => ''
    ]
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36866'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'ScheduleddeploysSearch%5Bsubdomain%5D=&ScheduleddeploysSearch%5Bparams%5D=&ScheduleddeploysSearch%5Bemail%5D=&ScheduleddeploysSearch%5Bmessage%5D=d&ScheduleddeploysSearch%5Bcreated_on%5D=&ScheduleddeploysSearch%5Bdeployed_on%5D=&r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?ScheduleddeploysSearch%5Bsubdomain%5D=&ScheduleddeploysSearch%5Bparams%5D=&ScheduleddeploysSearch%5Bemail%5D=&ScheduleddeploysSearch%5Bmessage%5D=d&ScheduleddeploysSearch%5Bcreated_on%5D=&ScheduleddeploysSearch%5Bdeployed_on%5D=&r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044721.993
    'REQUEST_TIME' => 1587044721
]
2020-04-16 13:45:24 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:45:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:45:24 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:45:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:45:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 13:45:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:45:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:45:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 13:45:24 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:45:24 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 13:45:24 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:45:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` ORDER BY `deployed_on`, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:45:24 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 13:45:24 [::1][1][-][info][application] $_GET = [
    'ScheduleddeploysSearch' => [
        'subdomain' => ''
        'params' => ''
        'email' => ''
        'message' => ''
        'created_on' => ''
        'deployed_on' => ''
    ]
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?ScheduleddeploysSearch%5Bsubdomain%5D=&ScheduleddeploysSearch%5Bparams%5D=&ScheduleddeploysSearch%5Bemail%5D=&ScheduleddeploysSearch%5Bmessage%5D=d&ScheduleddeploysSearch%5Bcreated_on%5D=&ScheduleddeploysSearch%5Bdeployed_on%5D=&r=scheduleddeploys%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '36866'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'ScheduleddeploysSearch%5Bsubdomain%5D=&ScheduleddeploysSearch%5Bparams%5D=&ScheduleddeploysSearch%5Bemail%5D=&ScheduleddeploysSearch%5Bmessage%5D=&ScheduleddeploysSearch%5Bcreated_on%5D=&ScheduleddeploysSearch%5Bdeployed_on%5D=&r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?ScheduleddeploysSearch%5Bsubdomain%5D=&ScheduleddeploysSearch%5Bparams%5D=&ScheduleddeploysSearch%5Bemail%5D=&ScheduleddeploysSearch%5Bmessage%5D=&ScheduleddeploysSearch%5Bcreated_on%5D=&ScheduleddeploysSearch%5Bdeployed_on%5D=&r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587044724.294
    'REQUEST_TIME' => 1587044724
]
2020-04-16 14:09:53 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:09:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:09:53 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:09:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:09:53 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:09:53 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:09:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:09:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:09:53 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 14:09:53 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 14:09:53 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:09:53 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` ORDER BY `deployed_on`, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:09:53 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:09:53 [::1][1][-][info][application] $_GET = [
    'ScheduleddeploysSearch' => [
        'subdomain' => ''
        'params' => ''
        'email' => ''
        'message' => ''
        'created_on' => ''
        'deployed_on' => ''
    ]
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?ScheduleddeploysSearch%5Bsubdomain%5D=&ScheduleddeploysSearch%5Bparams%5D=&ScheduleddeploysSearch%5Bemail%5D=&ScheduleddeploysSearch%5Bmessage%5D=d&ScheduleddeploysSearch%5Bcreated_on%5D=&ScheduleddeploysSearch%5Bdeployed_on%5D=&r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37222'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'ScheduleddeploysSearch%5Bsubdomain%5D=&ScheduleddeploysSearch%5Bparams%5D=&ScheduleddeploysSearch%5Bemail%5D=&ScheduleddeploysSearch%5Bmessage%5D=&ScheduleddeploysSearch%5Bcreated_on%5D=&ScheduleddeploysSearch%5Bdeployed_on%5D=&r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?ScheduleddeploysSearch%5Bsubdomain%5D=&ScheduleddeploysSearch%5Bparams%5D=&ScheduleddeploysSearch%5Bemail%5D=&ScheduleddeploysSearch%5Bmessage%5D=&ScheduleddeploysSearch%5Bcreated_on%5D=&ScheduleddeploysSearch%5Bdeployed_on%5D=&r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587046193.358
    'REQUEST_TIME' => 1587046193
]
2020-04-16 14:09:55 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:09:55 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:09:55 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:09:55 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:09:55 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:09:55 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:09:55 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:09:55 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:09:55 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:134
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:66
2020-04-16 14:09:55 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:134
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:66
2020-04-16 14:09:55 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `id`='2'
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:134
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:66
2020-04-16 14:09:55 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:66
2020-04-16 14:09:55 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/view'
    'id' => '2'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?ScheduleddeploysSearch%5Bsubdomain%5D=&ScheduleddeploysSearch%5Bparams%5D=&ScheduleddeploysSearch%5Bemail%5D=&ScheduleddeploysSearch%5Bmessage%5D=&ScheduleddeploysSearch%5Bcreated_on%5D=&ScheduleddeploysSearch%5Bdeployed_on%5D=&r=scheduleddeploys%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37228'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Fview&id=2'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Fview&id=2'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587046195.25
    'REQUEST_TIME' => 1587046195
]
2020-04-16 14:10:00 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:10:00 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:10:00 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:10:00 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:10:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:10:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:10:00 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:10:00 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:10:00 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 14:10:00 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 14:10:00 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:10:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` ORDER BY `deployed_on`, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:10:00 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:10:00 [::1][1][-][info][application] $_GET = [
    'ScheduleddeploysSearch' => [
        'subdomain' => ''
        'params' => ''
        'email' => ''
        'message' => ''
        'created_on' => ''
        'deployed_on' => ''
    ]
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'tv4qbv458nnhs7tf4dfe95ms48'
    '_csrf' => '35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__id' => 1
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?ScheduleddeploysSearch%5Bsubdomain%5D=&ScheduleddeploysSearch%5Bparams%5D=&ScheduleddeploysSearch%5Bemail%5D=&ScheduleddeploysSearch%5Bmessage%5D=d&ScheduleddeploysSearch%5Bcreated_on%5D=&ScheduleddeploysSearch%5Bdeployed_on%5D=&r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=tv4qbv458nnhs7tf4dfe95ms48; _csrf=35add62b66e90794f6b2bd7c4a873d1698333dec5ffe445e9dae6f3b7d42565ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22rLxGf6SXmlMI_p0BxgYPjGwGi5ISmJXw%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37242'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'ScheduleddeploysSearch%5Bsubdomain%5D=&ScheduleddeploysSearch%5Bparams%5D=&ScheduleddeploysSearch%5Bemail%5D=&ScheduleddeploysSearch%5Bmessage%5D=&ScheduleddeploysSearch%5Bcreated_on%5D=&ScheduleddeploysSearch%5Bdeployed_on%5D=&r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?ScheduleddeploysSearch%5Bsubdomain%5D=&ScheduleddeploysSearch%5Bparams%5D=&ScheduleddeploysSearch%5Bemail%5D=&ScheduleddeploysSearch%5Bmessage%5D=&ScheduleddeploysSearch%5Bcreated_on%5D=&ScheduleddeploysSearch%5Bdeployed_on%5D=&r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587046200.727
    'REQUEST_TIME' => 1587046200
]
2020-04-16 14:45:25 [::1][-][iq02mnffj71o249t4fl9jufbhi][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:45:25 [::1][-][iq02mnffj71o249t4fl9jufbhi][error][yii\base\ErrorException:8] yii\base\ErrorException: Trying to get property 'isSystemAdministrator' of non-object in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
Stack trace:
#0 /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php(28): yii\web\ErrorHandler->handleError()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Component.php(733): app\controllers\ScheduleddeploysController->behaviors()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Component.php(603): app\controllers\ScheduleddeploysController->ensureBehaviors()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(276): app\controllers\ScheduleddeploysController->trigger()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Controller.php(185): app\controllers\ScheduleddeploysController->beforeAction()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(155): app\controllers\ScheduleddeploysController->beforeAction()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): app\controllers\ScheduleddeploysController->runAction()
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\web\Application->runAction()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#9 /home/fmm/work/dpo/portal/web/index.php(12): yii\web\Application->run()
#10 {main}
2020-04-16 14:45:25 [::1][-][iq02mnffj71o249t4fl9jufbhi][info][application] $_GET = [
    'ScheduleddeploysSearch' => [
        'subdomain' => ''
        'params' => ''
        'email' => ''
        'message' => ''
        'created_on' => ''
        'deployed_on' => ''
    ]
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'iq02mnffj71o249t4fl9jufbhi'
    '_csrf' => '1c4fed8757e0a7d8ee84d1d4455a74c791df8aaf947388486fd44841352a1797a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"pQvG6RrQL2NzxdTfDcIy0GPTQQhesdxG\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => '/index.php?r=user%2Frequest&email=hexonio@hexonio.com'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?ScheduleddeploysSearch%5Bsubdomain%5D=&ScheduleddeploysSearch%5Bparams%5D=&ScheduleddeploysSearch%5Bemail%5D=&ScheduleddeploysSearch%5Bmessage%5D=d&ScheduleddeploysSearch%5Bcreated_on%5D=&ScheduleddeploysSearch%5Bdeployed_on%5D=&r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=iq02mnffj71o249t4fl9jufbhi; _csrf=1c4fed8757e0a7d8ee84d1d4455a74c791df8aaf947388486fd44841352a1797a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22pQvG6RrQL2NzxdTfDcIy0GPTQQhesdxG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37644'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'ScheduleddeploysSearch%5Bsubdomain%5D=&ScheduleddeploysSearch%5Bparams%5D=&ScheduleddeploysSearch%5Bemail%5D=&ScheduleddeploysSearch%5Bmessage%5D=&ScheduleddeploysSearch%5Bcreated_on%5D=&ScheduleddeploysSearch%5Bdeployed_on%5D=&r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?ScheduleddeploysSearch%5Bsubdomain%5D=&ScheduleddeploysSearch%5Bparams%5D=&ScheduleddeploysSearch%5Bemail%5D=&ScheduleddeploysSearch%5Bmessage%5D=&ScheduleddeploysSearch%5Bcreated_on%5D=&ScheduleddeploysSearch%5Bdeployed_on%5D=&r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587048325.497
    'REQUEST_TIME' => 1587048325
]
2020-04-16 14:45:48 [::1][-][iq02mnffj71o249t4fl9jufbhi][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:45:48 [::1][-][iq02mnffj71o249t4fl9jufbhi][error][yii\base\ErrorException:8] yii\base\ErrorException: Trying to get property 'isSystemAdministrator' of non-object in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
Stack trace:
#0 /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php(28): yii\web\ErrorHandler->handleError()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Component.php(733): app\controllers\ScheduleddeploysController->behaviors()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Component.php(603): app\controllers\ScheduleddeploysController->ensureBehaviors()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(276): app\controllers\ScheduleddeploysController->trigger()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Controller.php(185): app\controllers\ScheduleddeploysController->beforeAction()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(155): app\controllers\ScheduleddeploysController->beforeAction()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): app\controllers\ScheduleddeploysController->runAction()
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\web\Application->runAction()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#9 /home/fmm/work/dpo/portal/web/index.php(12): yii\web\Application->run()
#10 {main}
2020-04-16 14:45:48 [::1][-][iq02mnffj71o249t4fl9jufbhi][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'iq02mnffj71o249t4fl9jufbhi'
    '_csrf' => '1c4fed8757e0a7d8ee84d1d4455a74c791df8aaf947388486fd44841352a1797a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"pQvG6RrQL2NzxdTfDcIy0GPTQQhesdxG\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => '/index.php?r=user%2Frequest&email=hexonio@hexonio.com'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=iq02mnffj71o249t4fl9jufbhi; _csrf=1c4fed8757e0a7d8ee84d1d4455a74c791df8aaf947388486fd44841352a1797a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22pQvG6RrQL2NzxdTfDcIy0GPTQQhesdxG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37648'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587048348.694
    'REQUEST_TIME' => 1587048348
]
2020-04-16 14:50:19 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:50:19 [::1][-][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'iq02mnffj71o249t4fl9jufbhi'
    '_csrf' => '1c4fed8757e0a7d8ee84d1d4455a74c791df8aaf947388486fd44841352a1797a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"pQvG6RrQL2NzxdTfDcIy0GPTQQhesdxG\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=iq02mnffj71o249t4fl9jufbhi; _csrf=1c4fed8757e0a7d8ee84d1d4455a74c791df8aaf947388486fd44841352a1797a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22pQvG6RrQL2NzxdTfDcIy0GPTQQhesdxG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37706'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587048619.408
    'REQUEST_TIME' => 1587048619
]
2020-04-16 14:50:19 [::1][-][iq02mnffj71o249t4fl9jufbhi][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request: site/login in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php:128
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#3 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#4 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-04-16 14:50:19 [::1][-][iq02mnffj71o249t4fl9jufbhi][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:50:19 [::1][-][iq02mnffj71o249t4fl9jufbhi][info][application] $_GET = [
    'r' => 'site/login'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'iq02mnffj71o249t4fl9jufbhi'
    '_csrf' => '1c4fed8757e0a7d8ee84d1d4455a74c791df8aaf947388486fd44841352a1797a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"pQvG6RrQL2NzxdTfDcIy0GPTQQhesdxG\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=iq02mnffj71o249t4fl9jufbhi; _csrf=1c4fed8757e0a7d8ee84d1d4455a74c791df8aaf947388486fd44841352a1797a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22pQvG6RrQL2NzxdTfDcIy0GPTQQhesdxG%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37706'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Flogin'
    'REQUEST_URI' => '/index.php?r=site%2Flogin'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587048619.424
    'REQUEST_TIME' => 1587048619
]
2020-04-16 14:50:25 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:50:25 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 14:50:25 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 14:50:25 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 14:50:25 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 14:50:25 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 14:50:25 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 14:50:25 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 14:50:25 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 14:50:25 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'iq02mnffj71o249t4fl9jufbhi'
    '_csrf' => '1df9ca31e0c0b49c645a33f78cbc90580b304585bcda82b8531a85d3b8172f76a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"qLayKbiDmnF7EIOtGk1jXms9Qvr4AePs\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=iq02mnffj71o249t4fl9jufbhi; _csrf=1df9ca31e0c0b49c645a33f78cbc90580b304585bcda82b8531a85d3b8172f76a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22qLayKbiDmnF7EIOtGk1jXms9Qvr4AePs%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37722'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587048625.639
    'REQUEST_TIME' => 1587048625
]
2020-04-16 14:50:40 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/controllers/JsonController.php:70
2020-04-16 14:50:40 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:114
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:63
2020-04-16 14:50:40 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:114
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:63
2020-04-16 14:50:40 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:114
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:63
2020-04-16 14:50:40 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `email`='hexonio@hexonio.com'
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:114
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:63
2020-04-16 14:50:40 [::1][1][-][info][yii\web\User::login] User '1' logged in from ::1 with duration 2592000.
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:100
    in /home/fmm/work/dpo/portal/controllers/JsonController.php:97
2020-04-16 14:50:40 [::1][1][-][info][application] $_GET = [
    'r' => 'json/loginuser'
]

$_POST = [
    '_csrf' => 'QDH6tPzg-28SidaN_YNAD7wXTyqwqz1M5IiD-ZNweMwxfZvNt4KSK3_nkLq4yg97-3x-QOjGTnW1_vHN0hUovw=='
    'LoginForm' => [
        'email' => 'hexonio@hexonio.com'
        'password' => '123'
    ]
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'iq02mnffj71o249t4fl9jufbhi'
    '_csrf' => '1df9ca31e0c0b49c645a33f78cbc90580b304585bcda82b8531a85d3b8172f76a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"qLayKbiDmnF7EIOtGk1jXms9Qvr4AePs\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'pt'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'application/json, text/javascript, */*; q=0.01'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded; charset=UTF-8'
    'HTTP_X_REQUESTED_WITH' => 'XMLHttpRequest'
    'CONTENT_LENGTH' => '169'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=iq02mnffj71o249t4fl9jufbhi; _csrf=1df9ca31e0c0b49c645a33f78cbc90580b304585bcda82b8531a85d3b8172f76a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22qLayKbiDmnF7EIOtGk1jXms9Qvr4AePs%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37740'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=json%2Floginuser'
    'REQUEST_URI' => '/index.php?r=json%2Floginuser'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587048640.768
    'REQUEST_TIME' => 1587048640
]
2020-04-16 14:50:40 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:50:40 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:50:40 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:50:40 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:50:40 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:50:40 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 14:50:40 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 14:50:40 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 14:50:40 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 14:50:40 [::1][1][-][info][application] $_GET = [
    'r' => 'dashboard/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 't3jbd4homle7il1ddfjvlplris'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=t3jbd4homle7il1ddfjvlplris; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37740'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=dashboard%2Findex'
    'REQUEST_URI' => '/index.php?r=dashboard%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587048640.791
    'REQUEST_TIME' => 1587048640
]
2020-04-16 14:50:42 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:50:42 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:50:42 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:50:42 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:50:42 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:50:42 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:50:42 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:50:42 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:50:42 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 14:50:42 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 14:50:42 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:50:42 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` ORDER BY `deployed_on`, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:50:42 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:50:42 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 't3jbd4homle7il1ddfjvlplris'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=t3jbd4homle7il1ddfjvlplris; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37740'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587048642.904
    'REQUEST_TIME' => 1587048642
]
2020-04-16 14:52:32 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:32 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:43
2020-04-16 14:52:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:43
2020-04-16 14:52:32 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `license`
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 14:52:33 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` LIMIT 20
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 14:52:33 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 14:52:33 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 14:52:33 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 14:52:33 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 14:52:32 [::1][1][-][info][application] $_GET = [
    'r' => 'license/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 't3jbd4homle7il1ddfjvlplris'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=t3jbd4homle7il1ddfjvlplris; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37778'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Findex'
    'REQUEST_URI' => '/index.php?r=license%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587048752.987
    'REQUEST_TIME' => 1587048752
]
2020-04-16 14:52:34 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='7'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=7
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=7
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:34 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '7'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 't3jbd4homle7il1ddfjvlplris'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=t3jbd4homle7il1ddfjvlplris; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37778'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=7'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=7'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587048754.777
    'REQUEST_TIME' => 1587048754
]
2020-04-16 14:52:36 [::1][1][t3jbd4homle7il1ddfjvlplris][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:36 [::1][1][t3jbd4homle7il1ddfjvlplris][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:36 [::1][1][t3jbd4homle7il1ddfjvlplris][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:36 [::1][1][t3jbd4homle7il1ddfjvlplris][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:36 [::1][1][t3jbd4homle7il1ddfjvlplris][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:36 [::1][1][t3jbd4homle7il1ddfjvlplris][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 14:52:36 [::1][1][t3jbd4homle7il1ddfjvlplris][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 14:52:36 [::1][1][t3jbd4homle7il1ddfjvlplris][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 14:52:36 [::1][1][t3jbd4homle7il1ddfjvlplris][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 14:52:36 [::1][1][t3jbd4homle7il1ddfjvlplris][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 14:52:36 [::1][1][t3jbd4homle7il1ddfjvlplris][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='7'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 14:52:36 [::1][1][t3jbd4homle7il1ddfjvlplris][error][yii\base\ErrorException:8] yii\base\ErrorException: Undefined variable: model in /home/fmm/work/dpo/portal/components/Deploy.php:28
Stack trace:
#0 /home/fmm/work/dpo/portal/components/Deploy.php(28): yii\web\ErrorHandler->handleError()
#1 /home/fmm/work/dpo/portal/controllers/LicenseController.php(284): app\components\Deploy::scheduleDeploy()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): app\controllers\LicenseController->actionDeploy()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): ::call_user_func_array:{/home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php:57}()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): app\controllers\LicenseController->runAction()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\web\Application->runAction()
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#8 /home/fmm/work/dpo/portal/web/index.php(12): yii\web\Application->run()
#9 {main}
2020-04-16 14:52:36 [::1][1][t3jbd4homle7il1ddfjvlplris][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '7'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 't3jbd4homle7il1ddfjvlplris'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=7'
    'HTTP_COOKIE' => 'PHPSESSID=t3jbd4homle7il1ddfjvlplris; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37778'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=7'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=7'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587048756.002
    'REQUEST_TIME' => 1587048756
]
2020-04-16 14:52:52 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='7'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=7
    in /home/fmm/work/dpo/portal/components/Deploy.php:34
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/components/Deploy.php:34
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/components/Deploy.php:34
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=6
    in /home/fmm/work/dpo/portal/components/Deploy.php:35
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/components/Deploy.php:35
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/components/Deploy.php:35
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=8
    in /home/fmm/work/dpo/portal/components/Deploy.php:36
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/components/Deploy.php:58
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/components/Deploy.php:58
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `license` WHERE `license`.`id`=7)
    in /home/fmm/work/dpo/portal/components/Deploy.php:62
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::execute] INSERT INTO `scheduleddeploys` (`fk_license_id`, `subdomain`, `params`, `email`) VALUES (7, 't2', '-d=t2 -dp=/home/fmm/work/dpo/portal/subdomains/t2 -fn=564654456 -em=t2@t2.pt -ph=5456456 -url=https://t2.dpoagenda.eu -l=pt -dbsn=localhost -dbsp=3306 -dbu=dpoagend_Usr -dbp=dpoAgenda!2019 -db=db_t2 -ts=1 -csd=7', 't2@t2.pt')
    in /home/fmm/work/dpo/portal/components/Deploy.php:62
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:52:52 [::1][1][-][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '7'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 't3jbd4homle7il1ddfjvlplris'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => -1
    ]
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
    'success' => 'Deploy has been scheduled.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=7'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=t3jbd4homle7il1ddfjvlplris; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37802'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=7'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=7'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587048772.141
    'REQUEST_TIME' => 1587048772
]
2020-04-16 14:52:52 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='7'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=7
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=7
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:52:52 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '7'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 't3jbd4homle7il1ddfjvlplris'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => 1
    ]
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
    'success' => 'Deploy has been scheduled.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=7'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=t3jbd4homle7il1ddfjvlplris; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37802'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=7'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=7'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587048772.172
    'REQUEST_TIME' => 1587048772
]
2020-04-16 14:52:55 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:55 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:55 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:55 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:55 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:52:55 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:52:55 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:52:55 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:52:55 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 14:52:55 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 14:52:55 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:52:55 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` ORDER BY `deployed_on`, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:52:55 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:52:55 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 't3jbd4homle7il1ddfjvlplris'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=7'
    'HTTP_COOKIE' => 'PHPSESSID=t3jbd4homle7il1ddfjvlplris; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37812'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587048775.139
    'REQUEST_TIME' => 1587048775
]
2020-04-16 14:57:30 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:30 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:30 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:30 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:30 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:30 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:43
2020-04-16 14:57:30 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:54
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:43
2020-04-16 14:57:30 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `license`
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 14:57:30 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` LIMIT 20
    in /home/fmm/work/dpo/portal/views/license/index.php:71
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 14:57:30 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 14:57:30 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 14:57:30 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 14:57:30 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/layouts/main.php:81
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:47
2020-04-16 14:57:30 [::1][1][-][info][application] $_GET = [
    'r' => 'license/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 't3jbd4homle7il1ddfjvlplris'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=t3jbd4homle7il1ddfjvlplris; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37868'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Findex'
    'REQUEST_URI' => '/index.php?r=license%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049050.13
    'REQUEST_TIME' => 1587049050
]
2020-04-16 14:57:31 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='13'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=13
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=13
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:31 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:31 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '13'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 't3jbd4homle7il1ddfjvlplris'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=t3jbd4homle7il1ddfjvlplris; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37868'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=13'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=13'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049051.379
    'REQUEST_TIME' => 1587049051
]
2020-04-16 14:57:32 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:245
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='13'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:249
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=13
    in /home/fmm/work/dpo/portal/components/Deploy.php:34
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/components/Deploy.php:34
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/components/Deploy.php:34
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=12
    in /home/fmm/work/dpo/portal/components/Deploy.php:35
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/components/Deploy.php:35
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/components/Deploy.php:35
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=14
    in /home/fmm/work/dpo/portal/components/Deploy.php:36
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/components/Deploy.php:58
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/components/Deploy.php:58
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `license` WHERE `license`.`id`=13)
    in /home/fmm/work/dpo/portal/components/Deploy.php:62
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::execute] INSERT INTO `scheduleddeploys` (`fk_license_id`, `subdomain`, `params`, `email`) VALUES (13, 't13', '-d=t13 -dp=/home/fmm/work/dpo/portal/subdomains/t13 -fn=5654564 -em=t13@t13.pt -ph=654564 -url=https://t13.dpoagenda.eu -l=pt -dbsn=localhost -dbsp=3306 -dbu=dpoagend_Usr -dbp=dpoAgenda!2019 -db=db_t13 -ts=1 -csd=13', 't13@t13.pt')
    in /home/fmm/work/dpo/portal/components/Deploy.php:62
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:284
2020-04-16 14:57:32 [::1][1][-][info][application] $_GET = [
    'r' => 'license/deploy'
    'id' => '13'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 't3jbd4homle7il1ddfjvlplris'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => -1
    ]
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
    'success' => 'Deploy has been scheduled.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=13'
    'HTTP_COOKIE' => 'PHPSESSID=t3jbd4homle7il1ddfjvlplris; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37868'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fdeploy&id=13'
    'REQUEST_URI' => '/index.php?r=license%2Fdeploy&id=13'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049052.879
    'REQUEST_TIME' => 1587049052
]
2020-04-16 14:57:32 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `id`='13'
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:308
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=13
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/views/license/view.php:11
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/license/view.php:15
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` WHERE `fk_license_id`=13
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/views/license/view.php:20
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/views/license/view.php:69
    in /home/fmm/work/dpo/portal/views/license/view.php:70
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/LicenseController.php:60
2020-04-16 14:57:32 [::1][1][-][info][application] $_GET = [
    'r' => 'license/view'
    'id' => '13'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 't3jbd4homle7il1ddfjvlplris'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => [
        'success' => 1
    ]
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
    'success' => 'Deploy has been scheduled.'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=13'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=t3jbd4homle7il1ddfjvlplris; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37868'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=license%2Fview&id=13'
    'REQUEST_URI' => '/index.php?r=license%2Fview&id=13'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049052.909
    'REQUEST_TIME' => 1587049052
]
2020-04-16 14:57:34 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:34 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:34 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:34 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:57:34 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:57:34 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:57:34 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 14:57:34 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 14:57:34 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:57:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` ORDER BY `deployed_on`, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:57:34 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:57:34 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 't3jbd4homle7il1ddfjvlplris'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=13'
    'HTTP_COOKIE' => 'PHPSESSID=t3jbd4homle7il1ddfjvlplris; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37868'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049054.691
    'REQUEST_TIME' => 1587049054
]
2020-04-16 14:57:55 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:55 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:55 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:55 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:55 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 14:57:55 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:57:55 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:57:55 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 14:57:55 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 14:57:55 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 14:57:55 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:57:55 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` ORDER BY `deployed_on`, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:57:55 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 14:57:55 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 't3jbd4homle7il1ddfjvlplris'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=13'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=t3jbd4homle7il1ddfjvlplris; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37898'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049075.367
    'REQUEST_TIME' => 1587049075
]
2020-04-16 15:00:04 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:00:04 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:00:04 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:00:04 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:00:04 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:00:04 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 15:00:04 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 15:00:04 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 15:00:04 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 15:00:04 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 15:00:04 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 15:00:04 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` ORDER BY `deployed_on`, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 15:00:04 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 15:00:04 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 't3jbd4homle7il1ddfjvlplris'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    '__returnUrl' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'LICENSE_STATUS' => [
        'companyName' => 'Hexónio Consulting'
        'companyFiscalNumber' => '510510510'
        'companyCountry' => 'Portugal'
        'companyLanguage' => 'pt'
        'licenseIsLimited' => false
        'licenseExpirationDate' => '2018-11-22'
        'licenseMaxUsers' => 0
        'licenseIntegration' => true
        'licenseScheduling' => true
        'licenseAnalysis' => true
        'licenseMaxDiskSize' => 0
        'cipherKey' => '510'
    ]
    'ApplicationLanguage' => 'en'
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=license%2Fview&id=13'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=t3jbd4homle7il1ddfjvlplris; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '37944'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049204.778
    'REQUEST_TIME' => 1587049204
]
2020-04-16 15:03:49 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:03:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:03:49 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:03:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:03:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:03:49 [::1][-][-][info][yii\web\User::logout] User '1' logged out from ::1.
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:74
2020-04-16 15:03:49 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:74
2020-04-16 15:03:49 [::1][-][-][info][application] $_GET = [
    'r' => 'dashboard/logout'
]

$_POST = [
    '_csrf' => 'IyaTWerjII6ff_uU63yjU-oGqxCs7BmtEIpwup9-9JpsS98Woptt2vkrlKeYEcs0sl_OJ8qkd59pwAPf-BHA-Q=='
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 't3jbd4homle7il1ddfjvlplris'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = []

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '98'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=t3jbd4homle7il1ddfjvlplris; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38006'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=dashboard%2Flogout'
    'REQUEST_URI' => '/index.php?r=dashboard%2Flogout'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049429.376
    'REQUEST_TIME' => 1587049429
]
2020-04-16 15:03:49 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:03:49 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:03:49 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:03:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:03:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:03:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:03:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:03:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:03:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:03:49 [::1][-][-][info][application] $_GET = [
    'r' => 'site/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38006'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex'
    'REQUEST_URI' => '/index.php?r=site%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049429.389
    'REQUEST_TIME' => 1587049429
]
2020-04-16 15:03:54 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:03:54 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:123
2020-04-16 15:03:54 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `language` ORDER BY `name`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:123
2020-04-16 15:03:54 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step1'
    'pid' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38020'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep1&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep1&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049434.203
    'REQUEST_TIME' => 1587049434
]
2020-04-16 15:04:18 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:04:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/forms/ProductSignupStep1Form.php:50
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:116
2020-04-16 15:04:18 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/forms/ProductSignupStep1Form.php:50
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:116
2020-04-16 15:04:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/forms/ProductSignupStep1Form.php:50
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:116
2020-04-16 15:04:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `subdomain`='auto'
    in /home/fmm/work/dpo/portal/models/forms/ProductSignupStep1Form.php:50
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:116
2020-04-16 15:04:18 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step1'
    'pid' => '1'
]

$_POST = [
    '_csrf' => 'UxVLHlDizyzOHrBwhQYDs294pxaRiZayj-ZIIvbUDiEceAdRGJqCeKhK30P2a2vUNyHCIffB-ID2rDtHkbs6Qg=='
    'ProductSignupStep1Form' => [
        'client_subdomain' => 'auto'
        'client_language_code' => 'PT'
        'user_name' => 'Guida Cristina'
        'user_email' => 'guidacristina@dpoagenda.eu'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Guida Cristina'
        [user_email] => 'guidacristina@dpoagenda.eu'
        [client_subdomain] => 'auto'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '352'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep1&pid=1'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38030'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep1&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep1&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049458.735
    'REQUEST_TIME' => 1587049458
]
2020-04-16 15:04:18 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:04:18 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/views/productsignup/step2.php:89
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:194
2020-04-16 15:04:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `country` ORDER BY `name`
    in /home/fmm/work/dpo/portal/views/productsignup/step2.php:89
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:194
2020-04-16 15:04:18 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step2'
    'pid' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Guida Cristina'
        [user_email] => 'guidacristina@dpoagenda.eu'
        [client_subdomain] => 'auto'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep1&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38030'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep2&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep2&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049458.756
    'REQUEST_TIME' => 1587049458
]
2020-04-16 15:04:48 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:04:48 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step2'
    'pid' => '1'
]

$_POST = [
    '_csrf' => 'PyHFK8M8NOTrj6y2uoQcGYC5MZ7qt72T8nSeF3C2A0RwTIlki0R5sI3bw4XJ6XR-2OBUqYz_06GLPu1yF9k3Jw=='
    'ProductSignupStep2Form' => [
        'client_name' => 'auto'
        'client_phone' => '147852369'
        'client_country_code' => 'PT'
        'client_vat_number' => '541255477'
        'client_address_line1' => 'Rua Principal, 27'
        'client_address_line2' => ''
        'client_city' => 'Oeiras'
        'client_zip' => '2790'
        'allow_terms_conditions' => '1'
        'allow_referral' => '0'
        'allow_marketing' => '0'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Guida Cristina'
        [user_email] => 'guidacristina@dpoagenda.eu'
        [client_subdomain] => 'auto'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'auto'
        [client_phone] => '147852369'
        [client_vat_exempt] => false
        [client_vat_number] => '541255477'
        [client_address_line1] => 'Rua Principal, 27'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2790'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '739'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep2&pid=1'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38042'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep2&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep2&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049488.038
    'REQUEST_TIME' => 1587049488
]
2020-04-16 15:04:48 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:04:48 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-16 15:04:48 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-16 15:04:48 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-16 15:04:48 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-16 15:04:48 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Guida Cristina'
        [user_email] => 'guidacristina@dpoagenda.eu'
        [client_subdomain] => 'auto'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'auto'
        [client_phone] => '147852369'
        [client_vat_exempt] => false
        [client_vat_number] => '541255477'
        [client_address_line1] => 'Rua Principal, 27'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2790'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep2&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38042'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049488.054
    'REQUEST_TIME' => 1587049488
]
2020-04-16 15:05:43 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE (`email`='guidacristina@dpoagenda.eu') AND (`id` > 100)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:244
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `user` (`name`, `email`, `password`, `type`, `terms_conditions_agreement`, `updated_by`, `active`, `created_on`) VALUES ('Guida Cristina', 'guidacristina@dpoagenda.eu', 'e29766b9e7bb4e68e5b4ee1be01b57d50704828e', 'client', NOW(), 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:259
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE (`vat_number`='541255477') AND (`fk_country_id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:267
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:267
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `country` WHERE `country`.`id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `user` WHERE `user`.`id`=39)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `client` (`fk_user_id`, `name`, `phone_number`, `vat_number`, `vat_exempt`, `address_line1`, `city`, `zip_code`, `fk_country_id`, `updated_by`, `active`, `created_on`) VALUES (39, 'auto', '147852369', '541255477', 0, 'Rua Principal, 27', 'Oeiras', '2790', 'PT', 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE `code`=''
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=16)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='1')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `sale` (`fk_consultant_id`, `fk_client_id`, `fk_productversion_id`, `value_license`, `value_cost`, `value_payed`, `value_promocode`, `payment_reference`, `invoice_number`, `status`, `updated_by`, `created_on`) VALUES (1, 16, 1, '359', '359.00', '441.57', '0', '541255477#20200416', '#To Be Issued', 'pending', 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE 0=1
    in /home/fmm/work/dpo/portal/components/Calculus.php:60
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:315
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=38)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `accountmovement` WHERE `fk_consultant_id`=1 ORDER BY `id` DESC
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:85
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:92
    in /home/fmm/work/dpo/portal/models/Accountmovement.php:170
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `accountmovement` (`fk_consultant_id`, `fk_sale_id`, `type`, `value`, `date`, `description`, `updated_by`, `created_on`, `balance`) VALUES (1, 38, 'credit', '0', NOW(), 'Sale to auto', 1, NOW(), '0')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=38)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-16 15:05:43 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `license` (`fk_sale_id`, `type`, `subdomain`, `language_code`, `cypher_key`, `valid_until`, `max_users`, `allows_scheduling`, `allows_analysis`, `allows_integration`, `disk_space`, `updated_by`, `created_on`) VALUES (38, 'new', 'auto', 'PT', 'PT541255477', '2021-04-17', 1, 0, 0, 0, 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-16 15:05:43 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
]

$_POST = [
    '_csrf' => 'ytPr0O-hj0By2XPfgLDJ2wLNeYU-RPYxFC3PrPNhzUmFvqefp9nCFBSNHOzz3aG8WpQcslgMmANtZ7zJlA75Kg=='
    'ProductSignupStep3Form' => [
        'promo_code' => ''
    ]
    'CreditCardForm' => [
        'number' => '5017670000001800'
        'ccv' => '123'
        'expire_month' => '12'
        'expire_year' => '2020'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Guida Cristina'
        [user_email] => 'guidacristina@dpoagenda.eu'
        [client_subdomain] => 'auto'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'auto'
        [client_phone] => '147852369'
        [client_vat_exempt] => false
        [client_vat_number] => '541255477'
        [client_address_line1] => 'Rua Principal, 27'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2790'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 16
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '541255477#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 38
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 16
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '541255477#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 38
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#25
        (
            [0] => yii\validators\RequiredValidator#26
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#27
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#28
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#29
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#30
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#31
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#32
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#33
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#34
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#35
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#37
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#38
    (
        [number] => '5017670000001800'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#39
        (
            [0] => yii\validators\RequiredValidator#40
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#41
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#42
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#43
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#45
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#46
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#47
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#48
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '314'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38066'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049543.42
    'REQUEST_TIME' => 1587049543
]
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=38 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=16
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=39
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-16 15:05:46 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:404
2020-04-16 15:05:46 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=16)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:404
2020-04-16 15:05:46 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='1')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:404
2020-04-16 15:05:46 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][yii\db\Command::execute] UPDATE `sale` SET `payment_processor_reference`='000073923' WHERE `id`=38
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:404
2020-04-16 15:05:46 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][error][Error] Error: Class 'app\controllers\Deploy' not found in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:415
Stack trace:
#0 [internal function]: app\controllers\ProductsignupController->actionPayment()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#6 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#7 {main}
2020-04-16 15:05:43 [::1][-][sm0lvm8ipkvvhgmgo50iboc8js][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Guida Cristina'
        [user_email] => 'guidacristina@dpoagenda.eu'
        [client_subdomain] => 'auto'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'auto'
        [client_phone] => '147852369'
        [client_vat_exempt] => false
        [client_vat_number] => '541255477'
        [client_address_line1] => 'Rua Principal, 27'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2790'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 16
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '541255477#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 38
            'payment_processor_reference' => '000073923'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 16
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '541255477#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 38
            'payment_processor_reference' => '000073923'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 16
                    'fk_user_id' => 39
                    'name' => 'auto'
                    'phone_number' => '147852369'
                    'vat_number' => '541255477'
                    'vat_exempt' => 0
                    'address_line1' => 'Rua Principal, 27'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2790'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:05:43'
                    'updated_on' => '2020-04-16 16:05:43'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 16
                    'fk_user_id' => 39
                    'name' => 'auto'
                    'phone_number' => '147852369'
                    'vat_number' => '541255477'
                    'vat_exempt' => 0
                    'address_line1' => 'Rua Principal, 27'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2790'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:05:43'
                    'updated_on' => '2020-04-16 16:05:43'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 39
                            'name' => 'Guida Cristina'
                            'email' => 'guidacristina@dpoagenda.eu'
                            'password' => 'e29766b9e7bb4e68e5b4ee1be01b57d50704828e'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:05:43'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:05:43'
                            'updated_on' => '2020-04-16 16:05:43'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 39
                            'name' => 'Guida Cristina'
                            'email' => 'guidacristina@dpoagenda.eu'
                            'password' => 'e29766b9e7bb4e68e5b4ee1be01b57d50704828e'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:05:43'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:05:43'
                            'updated_on' => '2020-04-16 16:05:43'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38066'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049543.531
    'REQUEST_TIME' => 1587049543
]
2020-04-16 15:06:21 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:06:21 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:06:21 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:06:21 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:06:21 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:06:21 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:06:21 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:06:21 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:06:21 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:06:21 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Guida Cristina'
        [user_email] => 'guidacristina@dpoagenda.eu'
        [client_subdomain] => 'auto'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'auto'
        [client_phone] => '147852369'
        [client_vat_exempt] => false
        [client_vat_number] => '541255477'
        [client_address_line1] => 'Rua Principal, 27'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2790'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 16
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '541255477#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 38
            'payment_processor_reference' => '000073923'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 16
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '541255477#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 38
            'payment_processor_reference' => '000073923'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 16
                    'fk_user_id' => 39
                    'name' => 'auto'
                    'phone_number' => '147852369'
                    'vat_number' => '541255477'
                    'vat_exempt' => 0
                    'address_line1' => 'Rua Principal, 27'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2790'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:05:43'
                    'updated_on' => '2020-04-16 16:05:43'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 16
                    'fk_user_id' => 39
                    'name' => 'auto'
                    'phone_number' => '147852369'
                    'vat_number' => '541255477'
                    'vat_exempt' => 0
                    'address_line1' => 'Rua Principal, 27'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2790'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:05:43'
                    'updated_on' => '2020-04-16 16:05:43'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 39
                            'name' => 'Guida Cristina'
                            'email' => 'guidacristina@dpoagenda.eu'
                            'password' => 'e29766b9e7bb4e68e5b4ee1be01b57d50704828e'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:05:43'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:05:43'
                            'updated_on' => '2020-04-16 16:05:43'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 39
                            'name' => 'Guida Cristina'
                            'email' => 'guidacristina@dpoagenda.eu'
                            'password' => 'e29766b9e7bb4e68e5b4ee1be01b57d50704828e'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:05:43'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:05:43'
                            'updated_on' => '2020-04-16 16:05:43'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38088'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049581.633
    'REQUEST_TIME' => 1587049581
]
2020-04-16 15:06:27 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:06:27 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:124
2020-04-16 15:06:27 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `language` ORDER BY `name`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:124
2020-04-16 15:06:27 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step1'
    'pid' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Guida Cristina'
        [user_email] => 'guidacristina@dpoagenda.eu'
        [client_subdomain] => 'auto'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'auto'
        [client_phone] => '147852369'
        [client_vat_exempt] => false
        [client_vat_number] => '541255477'
        [client_address_line1] => 'Rua Principal, 27'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2790'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 16
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '541255477#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 38
            'payment_processor_reference' => '000073923'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 16
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '541255477#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 38
            'payment_processor_reference' => '000073923'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 16
                    'fk_user_id' => 39
                    'name' => 'auto'
                    'phone_number' => '147852369'
                    'vat_number' => '541255477'
                    'vat_exempt' => 0
                    'address_line1' => 'Rua Principal, 27'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2790'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:05:43'
                    'updated_on' => '2020-04-16 16:05:43'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 16
                    'fk_user_id' => 39
                    'name' => 'auto'
                    'phone_number' => '147852369'
                    'vat_number' => '541255477'
                    'vat_exempt' => 0
                    'address_line1' => 'Rua Principal, 27'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2790'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:05:43'
                    'updated_on' => '2020-04-16 16:05:43'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 39
                            'name' => 'Guida Cristina'
                            'email' => 'guidacristina@dpoagenda.eu'
                            'password' => 'e29766b9e7bb4e68e5b4ee1be01b57d50704828e'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:05:43'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:05:43'
                            'updated_on' => '2020-04-16 16:05:43'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 39
                            'name' => 'Guida Cristina'
                            'email' => 'guidacristina@dpoagenda.eu'
                            'password' => 'e29766b9e7bb4e68e5b4ee1be01b57d50704828e'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:05:43'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:05:43'
                            'updated_on' => '2020-04-16 16:05:43'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38100'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep1&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep1&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049587.416
    'REQUEST_TIME' => 1587049587
]
2020-04-16 15:06:54 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:06:54 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/forms/ProductSignupStep1Form.php:50
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:117
2020-04-16 15:06:54 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/forms/ProductSignupStep1Form.php:50
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:117
2020-04-16 15:06:54 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/forms/ProductSignupStep1Form.php:50
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:117
2020-04-16 15:06:54 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `subdomain`='hera'
    in /home/fmm/work/dpo/portal/models/forms/ProductSignupStep1Form.php:50
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:117
2020-04-16 15:06:54 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step1'
    'pid' => '1'
]

$_POST = [
    '_csrf' => 'nZ9jBAIP07lyjnjRoC2y-PYjfMszSSsd8rM9mB4clcbS8i9LSnee7RTaF-LTQNqfrnoZ_FUBRS-L-U79eXOhpQ=='
    'ProductSignupStep1Form' => [
        'client_subdomain' => 'hera'
        'client_language_code' => 'PT'
        'user_name' => 'Luisa Brito'
        'user_email' => 'lbrito@dpoagenda.eu'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Luisa Brito'
        [user_email] => 'lbrito@dpoagenda.eu'
        [client_subdomain] => 'hera'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'auto'
        [client_phone] => '147852369'
        [client_vat_exempt] => false
        [client_vat_number] => '541255477'
        [client_address_line1] => 'Rua Principal, 27'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2790'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 16
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '541255477#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 38
            'payment_processor_reference' => '000073923'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 16
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '541255477#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 38
            'payment_processor_reference' => '000073923'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 16
                    'fk_user_id' => 39
                    'name' => 'auto'
                    'phone_number' => '147852369'
                    'vat_number' => '541255477'
                    'vat_exempt' => 0
                    'address_line1' => 'Rua Principal, 27'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2790'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:05:43'
                    'updated_on' => '2020-04-16 16:05:43'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 16
                    'fk_user_id' => 39
                    'name' => 'auto'
                    'phone_number' => '147852369'
                    'vat_number' => '541255477'
                    'vat_exempt' => 0
                    'address_line1' => 'Rua Principal, 27'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2790'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:05:43'
                    'updated_on' => '2020-04-16 16:05:43'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 39
                            'name' => 'Guida Cristina'
                            'email' => 'guidacristina@dpoagenda.eu'
                            'password' => 'e29766b9e7bb4e68e5b4ee1be01b57d50704828e'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:05:43'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:05:43'
                            'updated_on' => '2020-04-16 16:05:43'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 39
                            'name' => 'Guida Cristina'
                            'email' => 'guidacristina@dpoagenda.eu'
                            'password' => 'e29766b9e7bb4e68e5b4ee1be01b57d50704828e'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:05:43'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:05:43'
                            'updated_on' => '2020-04-16 16:05:43'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '342'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep1&pid=1'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38108'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep1&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep1&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049614.396
    'REQUEST_TIME' => 1587049614
]
2020-04-16 15:06:54 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:06:54 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/views/productsignup/step2.php:89
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:195
2020-04-16 15:06:54 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `country` ORDER BY `name`
    in /home/fmm/work/dpo/portal/views/productsignup/step2.php:89
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:195
2020-04-16 15:06:54 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step2'
    'pid' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Luisa Brito'
        [user_email] => 'lbrito@dpoagenda.eu'
        [client_subdomain] => 'hera'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'auto'
        [client_phone] => '147852369'
        [client_vat_exempt] => false
        [client_vat_number] => '541255477'
        [client_address_line1] => 'Rua Principal, 27'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2790'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 16
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '541255477#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 38
            'payment_processor_reference' => '000073923'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 16
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '541255477#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 38
            'payment_processor_reference' => '000073923'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 16
                    'fk_user_id' => 39
                    'name' => 'auto'
                    'phone_number' => '147852369'
                    'vat_number' => '541255477'
                    'vat_exempt' => 0
                    'address_line1' => 'Rua Principal, 27'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2790'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:05:43'
                    'updated_on' => '2020-04-16 16:05:43'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 16
                    'fk_user_id' => 39
                    'name' => 'auto'
                    'phone_number' => '147852369'
                    'vat_number' => '541255477'
                    'vat_exempt' => 0
                    'address_line1' => 'Rua Principal, 27'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2790'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:05:43'
                    'updated_on' => '2020-04-16 16:05:43'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 39
                            'name' => 'Guida Cristina'
                            'email' => 'guidacristina@dpoagenda.eu'
                            'password' => 'e29766b9e7bb4e68e5b4ee1be01b57d50704828e'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:05:43'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:05:43'
                            'updated_on' => '2020-04-16 16:05:43'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 39
                            'name' => 'Guida Cristina'
                            'email' => 'guidacristina@dpoagenda.eu'
                            'password' => 'e29766b9e7bb4e68e5b4ee1be01b57d50704828e'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:05:43'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:05:43'
                            'updated_on' => '2020-04-16 16:05:43'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep1&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38108'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep2&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep2&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049614.413
    'REQUEST_TIME' => 1587049614
]
2020-04-16 15:07:25 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:07:25 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step2'
    'pid' => '1'
]

$_POST = [
    '_csrf' => 'otHo5BFNbOOWttNGpmEfjVL2OHEu9QDnHG6livKKynjtvKSrWTUht_DivHXVDHfqCq9dRki9btVlJNbvleX-Gw=='
    'ProductSignupStep2Form' => [
        'client_name' => 'Hera Portugal Lda'
        'client_phone' => '214785963'
        'client_country_code' => 'PT'
        'client_vat_number' => '510254785'
        'client_address_line1' => 'Av Principal, 56'
        'client_address_line2' => ''
        'client_city' => 'Oeiras'
        'client_zip' => '2800'
        'allow_terms_conditions' => '1'
        'allow_referral' => '0'
        'allow_marketing' => '0'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Luisa Brito'
        [user_email] => 'lbrito@dpoagenda.eu'
        [client_subdomain] => 'hera'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Hera Portugal Lda'
        [client_phone] => '214785963'
        [client_vat_exempt] => false
        [client_vat_number] => '510254785'
        [client_address_line1] => 'Av Principal, 56'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2800'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 16
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '541255477#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 38
            'payment_processor_reference' => '000073923'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 16
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '541255477#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 38
            'payment_processor_reference' => '000073923'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 16
                    'fk_user_id' => 39
                    'name' => 'auto'
                    'phone_number' => '147852369'
                    'vat_number' => '541255477'
                    'vat_exempt' => 0
                    'address_line1' => 'Rua Principal, 27'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2790'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:05:43'
                    'updated_on' => '2020-04-16 16:05:43'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 16
                    'fk_user_id' => 39
                    'name' => 'auto'
                    'phone_number' => '147852369'
                    'vat_number' => '541255477'
                    'vat_exempt' => 0
                    'address_line1' => 'Rua Principal, 27'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2790'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:05:43'
                    'updated_on' => '2020-04-16 16:05:43'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 39
                            'name' => 'Guida Cristina'
                            'email' => 'guidacristina@dpoagenda.eu'
                            'password' => 'e29766b9e7bb4e68e5b4ee1be01b57d50704828e'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:05:43'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:05:43'
                            'updated_on' => '2020-04-16 16:05:43'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 39
                            'name' => 'Guida Cristina'
                            'email' => 'guidacristina@dpoagenda.eu'
                            'password' => 'e29766b9e7bb4e68e5b4ee1be01b57d50704828e'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:05:43'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:05:43'
                            'updated_on' => '2020-04-16 16:05:43'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '751'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep2&pid=1'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38124'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep2&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep2&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049645.627
    'REQUEST_TIME' => 1587049645
]
2020-04-16 15:07:25 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:07:25 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-16 15:07:25 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-16 15:07:25 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-16 15:07:25 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-16 15:07:25 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Luisa Brito'
        [user_email] => 'lbrito@dpoagenda.eu'
        [client_subdomain] => 'hera'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Hera Portugal Lda'
        [client_phone] => '214785963'
        [client_vat_exempt] => false
        [client_vat_number] => '510254785'
        [client_address_line1] => 'Av Principal, 56'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2800'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 16
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '541255477#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 38
            'payment_processor_reference' => '000073923'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 16
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '541255477#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 38
            'payment_processor_reference' => '000073923'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 16
                    'fk_user_id' => 39
                    'name' => 'auto'
                    'phone_number' => '147852369'
                    'vat_number' => '541255477'
                    'vat_exempt' => 0
                    'address_line1' => 'Rua Principal, 27'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2790'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:05:43'
                    'updated_on' => '2020-04-16 16:05:43'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 16
                    'fk_user_id' => 39
                    'name' => 'auto'
                    'phone_number' => '147852369'
                    'vat_number' => '541255477'
                    'vat_exempt' => 0
                    'address_line1' => 'Rua Principal, 27'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2790'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:05:43'
                    'updated_on' => '2020-04-16 16:05:43'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 39
                            'name' => 'Guida Cristina'
                            'email' => 'guidacristina@dpoagenda.eu'
                            'password' => 'e29766b9e7bb4e68e5b4ee1be01b57d50704828e'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:05:43'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:05:43'
                            'updated_on' => '2020-04-16 16:05:43'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 39
                            'name' => 'Guida Cristina'
                            'email' => 'guidacristina@dpoagenda.eu'
                            'password' => 'e29766b9e7bb4e68e5b4ee1be01b57d50704828e'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:05:43'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:05:43'
                            'updated_on' => '2020-04-16 16:05:43'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep2&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38124'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049645.647
    'REQUEST_TIME' => 1587049645
]
2020-04-16 15:07:34 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:212
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE (`email`='lbrito@dpoagenda.eu') AND (`id` > 100)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:245
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:249
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:249
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `user` (`name`, `email`, `password`, `type`, `terms_conditions_agreement`, `updated_by`, `active`, `created_on`) VALUES ('Luisa Brito', 'lbrito@dpoagenda.eu', '9aecf3b646520af5ad737162fab70e085fc740ee', 'client', NOW(), 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:260
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE (`vat_number`='510254785') AND (`fk_country_id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:264
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:268
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:268
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `country` WHERE `country`.`id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:280
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `user` WHERE `user`.`id`=40)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:280
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `client` (`fk_user_id`, `name`, `phone_number`, `vat_number`, `vat_exempt`, `address_line1`, `city`, `zip_code`, `fk_country_id`, `updated_by`, `active`, `created_on`) VALUES (40, 'Hera Portugal Lda', '214785963', '510254785', 0, 'Av Principal, 56', 'Oeiras', '2800', 'PT', 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:280
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:285
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:285
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:289
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:289
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE `code`=''
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:289
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:308
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=17)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:308
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='1')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:308
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `sale` (`fk_consultant_id`, `fk_client_id`, `fk_productversion_id`, `value_license`, `value_cost`, `value_payed`, `value_promocode`, `payment_reference`, `invoice_number`, `status`, `updated_by`, `created_on`) VALUES (1, 17, 1, '359', '359.00', '441.57', '0', '510254785#20200416', '#To Be Issued', 'pending', 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:308
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:311
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:311
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:311
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:313
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:313
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE 0=1
    in /home/fmm/work/dpo/portal/components/Calculus.php:60
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:316
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:319
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=39)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:319
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `accountmovement` WHERE `fk_consultant_id`=1 ORDER BY `id` DESC
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:85
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:92
    in /home/fmm/work/dpo/portal/models/Accountmovement.php:170
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `accountmovement` (`fk_consultant_id`, `fk_sale_id`, `type`, `value`, `date`, `description`, `updated_by`, `created_on`, `balance`) VALUES (1, 39, 'credit', '0', NOW(), 'Sale to Hera Portugal Lda', 1, NOW(), '0')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:319
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:323
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:323
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=39)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:334
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `license` (`fk_sale_id`, `type`, `subdomain`, `language_code`, `cypher_key`, `valid_until`, `max_users`, `allows_scheduling`, `allows_analysis`, `allows_integration`, `disk_space`, `updated_by`, `created_on`) VALUES (39, 'new', 'hera', 'PT', 'PT510254785', '2021-04-17', 1, 0, 0, 0, 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:334
2020-04-16 15:07:34 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
]

$_POST = [
    '_csrf' => '1tSbalunisHxcYJKoo3qImCzrZlM1Oep_UO7p02NkmaZudclE9_HlZcl7XnR4IJFOOrIriqciZuECcjCKuKmBQ=='
    'ProductSignupStep3Form' => [
        'promo_code' => ''
    ]
    'CreditCardForm' => [
        'number' => '5017670000001800'
        'ccv' => '123'
        'expire_month' => '12'
        'expire_year' => '2020'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Luisa Brito'
        [user_email] => 'lbrito@dpoagenda.eu'
        [client_subdomain] => 'hera'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Hera Portugal Lda'
        [client_phone] => '214785963'
        [client_vat_exempt] => false
        [client_vat_number] => '510254785'
        [client_address_line1] => 'Av Principal, 56'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2800'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 17
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '510254785#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 39
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 17
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '510254785#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 39
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#25
        (
            [0] => yii\validators\RequiredValidator#26
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#27
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#28
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#29
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#30
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#31
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#32
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#33
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#34
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#35
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#37
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#38
    (
        [number] => '5017670000001800'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#39
        (
            [0] => yii\validators\RequiredValidator#40
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#41
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#42
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#43
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#45
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#46
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#47
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#48
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '314'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38130'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049654.865
    'REQUEST_TIME' => 1587049654
]
2020-04-16 15:07:34 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=39 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=17
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=40
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-16 15:07:34 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:370
2020-04-16 15:07:36 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:405
2020-04-16 15:07:36 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=17)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:405
2020-04-16 15:07:36 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='1')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:405
2020-04-16 15:07:36 [::1][-][-][info][yii\db\Command::execute] UPDATE `sale` SET `payment_processor_reference`='000073924' WHERE `id`=39
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:405
2020-04-16 15:07:36 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=39
    in /home/fmm/work/dpo/portal/components/Deploy.php:34
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:416
2020-04-16 15:07:36 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=17
    in /home/fmm/work/dpo/portal/components/Deploy.php:35
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:416
2020-04-16 15:07:36 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=40
    in /home/fmm/work/dpo/portal/components/Deploy.php:36
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:416
2020-04-16 15:07:36 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/components/Deploy.php:58
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:416
2020-04-16 15:07:36 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/components/Deploy.php:58
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:416
2020-04-16 15:07:36 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `license` WHERE `license`.`id`=39)
    in /home/fmm/work/dpo/portal/components/Deploy.php:62
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:416
2020-04-16 15:07:36 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `scheduleddeploys` (`fk_license_id`, `subdomain`, `params`, `email`) VALUES (39, 'hera', '-d=hera -dp=/home/fmm/work/dpo/portal/subdomains/hera -fn=510254785 -em=lbrito@dpoagenda.eu -ph=214785963 -url=https://hera.dpoagenda.eu -l=pt -dbsn=localhost -dbsp=3306 -dbu=dpoagend_Usr -dbp=dpoAgenda!2019 -db=db_hera -ts=1 -csd=39', 'lbrito@dpoagenda.eu')
    in /home/fmm/work/dpo/portal/components/Deploy.php:62
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:416
2020-04-16 15:07:34 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Luisa Brito'
        [user_email] => 'lbrito@dpoagenda.eu'
        [client_subdomain] => 'hera'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Hera Portugal Lda'
        [client_phone] => '214785963'
        [client_vat_exempt] => false
        [client_vat_number] => '510254785'
        [client_address_line1] => 'Av Principal, 56'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2800'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 17
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '510254785#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 39
            'payment_processor_reference' => '000073924'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 17
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '510254785#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 39
            'payment_processor_reference' => '000073924'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 17
                    'fk_user_id' => 40
                    'name' => 'Hera Portugal Lda'
                    'phone_number' => '214785963'
                    'vat_number' => '510254785'
                    'vat_exempt' => 0
                    'address_line1' => 'Av Principal, 56'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2800'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:07:34'
                    'updated_on' => '2020-04-16 16:07:34'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 17
                    'fk_user_id' => 40
                    'name' => 'Hera Portugal Lda'
                    'phone_number' => '214785963'
                    'vat_number' => '510254785'
                    'vat_exempt' => 0
                    'address_line1' => 'Av Principal, 56'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2800'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:07:34'
                    'updated_on' => '2020-04-16 16:07:34'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 40
                            'name' => 'Luisa Brito'
                            'email' => 'lbrito@dpoagenda.eu'
                            'password' => '9aecf3b646520af5ad737162fab70e085fc740ee'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:07:34'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:07:34'
                            'updated_on' => '2020-04-16 16:07:34'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 40
                            'name' => 'Luisa Brito'
                            'email' => 'lbrito@dpoagenda.eu'
                            'password' => '9aecf3b646520af5ad737162fab70e085fc740ee'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:07:34'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:07:34'
                            'updated_on' => '2020-04-16 16:07:34'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38130'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049654.952
    'REQUEST_TIME' => 1587049654
]
2020-04-16 15:07:50 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:07:50 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:269
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:203
2020-04-16 15:07:50 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:269
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:203
2020-04-16 15:07:50 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:269
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:203
2020-04-16 15:07:50 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`='39'
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:269
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:203
2020-04-16 15:07:50 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:213
2020-04-16 15:07:50 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=17)
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:213
2020-04-16 15:07:50 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:213
2020-04-16 15:07:50 [::1][-][-][info][yii\db\Command::execute] UPDATE `sale` SET `payment_date`='2020-04-16 15:07', `status`='accepted' WHERE `id`=39
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:213
2020-04-16 15:07:50 [::1][-][-][info][application] $_GET = [
    'r' => 'checkout/done'
    'id' => '39'
    'reference' => 'NTEwMjU0Nzg1IzIwMjAwNDE2'
    'eupago_status' => 'ok'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Luisa Brito'
        [user_email] => 'lbrito@dpoagenda.eu'
        [client_subdomain] => 'hera'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Hera Portugal Lda'
        [client_phone] => '214785963'
        [client_vat_exempt] => false
        [client_vat_number] => '510254785'
        [client_address_line1] => 'Av Principal, 56'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2800'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 17
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '510254785#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 39
            'payment_processor_reference' => '000073924'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 17
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '510254785#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 39
            'payment_processor_reference' => '000073924'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 17
                    'fk_user_id' => 40
                    'name' => 'Hera Portugal Lda'
                    'phone_number' => '214785963'
                    'vat_number' => '510254785'
                    'vat_exempt' => 0
                    'address_line1' => 'Av Principal, 56'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2800'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:07:34'
                    'updated_on' => '2020-04-16 16:07:34'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 17
                    'fk_user_id' => 40
                    'name' => 'Hera Portugal Lda'
                    'phone_number' => '214785963'
                    'vat_number' => '510254785'
                    'vat_exempt' => 0
                    'address_line1' => 'Av Principal, 56'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2800'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:07:34'
                    'updated_on' => '2020-04-16 16:07:34'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 40
                            'name' => 'Luisa Brito'
                            'email' => 'lbrito@dpoagenda.eu'
                            'password' => '9aecf3b646520af5ad737162fab70e085fc740ee'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:07:34'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:07:34'
                            'updated_on' => '2020-04-16 16:07:34'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 40
                            'name' => 'Luisa Brito'
                            'email' => 'lbrito@dpoagenda.eu'
                            'password' => '9aecf3b646520af5ad737162fab70e085fc740ee'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:07:34'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:07:34'
                            'updated_on' => '2020-04-16 16:07:34'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38158'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=checkout/done&id=39&reference=NTEwMjU0Nzg1IzIwMjAwNDE2&eupago_status=ok'
    'REQUEST_URI' => '/index.php?r=checkout/done&id=39&reference=NTEwMjU0Nzg1IzIwMjAwNDE2&eupago_status=ok'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049670.106
    'REQUEST_TIME' => 1587049670
]
2020-04-16 15:07:53 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:07:53 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:07:53 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:07:53 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:07:53 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:07:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:07:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:07:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:07:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:07:53 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Luisa Brito'
        [user_email] => 'lbrito@dpoagenda.eu'
        [client_subdomain] => 'hera'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Hera Portugal Lda'
        [client_phone] => '214785963'
        [client_vat_exempt] => false
        [client_vat_number] => '510254785'
        [client_address_line1] => 'Av Principal, 56'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2800'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 17
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '510254785#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 39
            'payment_processor_reference' => '000073924'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 17
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '510254785#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 39
            'payment_processor_reference' => '000073924'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 17
                    'fk_user_id' => 40
                    'name' => 'Hera Portugal Lda'
                    'phone_number' => '214785963'
                    'vat_number' => '510254785'
                    'vat_exempt' => 0
                    'address_line1' => 'Av Principal, 56'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2800'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:07:34'
                    'updated_on' => '2020-04-16 16:07:34'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 17
                    'fk_user_id' => 40
                    'name' => 'Hera Portugal Lda'
                    'phone_number' => '214785963'
                    'vat_number' => '510254785'
                    'vat_exempt' => 0
                    'address_line1' => 'Av Principal, 56'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2800'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:07:34'
                    'updated_on' => '2020-04-16 16:07:34'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 40
                            'name' => 'Luisa Brito'
                            'email' => 'lbrito@dpoagenda.eu'
                            'password' => '9aecf3b646520af5ad737162fab70e085fc740ee'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:07:34'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:07:34'
                            'updated_on' => '2020-04-16 16:07:34'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 40
                            'name' => 'Luisa Brito'
                            'email' => 'lbrito@dpoagenda.eu'
                            'password' => '9aecf3b646520af5ad737162fab70e085fc740ee'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:07:34'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:07:34'
                            'updated_on' => '2020-04-16 16:07:34'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=checkout/done&id=39&reference=NTEwMjU0Nzg1IzIwMjAwNDE2&eupago_status=ok'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38158'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049673.024
    'REQUEST_TIME' => 1587049673
]
2020-04-16 15:08:06 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/controllers/JsonController.php:70
2020-04-16 15:08:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:114
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:63
2020-04-16 15:08:06 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:114
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:63
2020-04-16 15:08:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:114
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:63
2020-04-16 15:08:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `email`='hexonio@hexonio.com'
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:114
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:63
2020-04-16 15:08:06 [::1][1][-][info][yii\web\User::login] User '1' logged in from ::1 with duration 2592000.
    in /home/fmm/work/dpo/portal/models/forms/LoginForm.php:100
    in /home/fmm/work/dpo/portal/controllers/JsonController.php:97
2020-04-16 15:08:06 [::1][1][-][info][application] $_GET = [
    'r' => 'json/loginuser'
]

$_POST = [
    '_csrf' => 'JO4A_7Ccyb-MQt2Kn5RYSFxdHrYosV2zNVCsNq-OJUlrg0yw-OSE6-oWsrns-TAvBAR7gU75M4FMGt9TyOERKg=='
    'LoginForm' => [
        'email' => 'hexonio@hexonio.com'
        'password' => '123'
    ]
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sm0lvm8ipkvvhgmgo50iboc8js'
    '_csrf' => '673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"OmLOHxMTfTo3smhgXYe7fHn2yJsego4c\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Luisa Brito'
        [user_email] => 'lbrito@dpoagenda.eu'
        [client_subdomain] => 'hera'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Hera Portugal Lda'
        [client_phone] => '214785963'
        [client_vat_exempt] => false
        [client_vat_number] => '510254785'
        [client_address_line1] => 'Av Principal, 56'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2800'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 17
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '510254785#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 39
            'payment_processor_reference' => '000073924'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 17
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '510254785#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 39
            'payment_processor_reference' => '000073924'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 17
                    'fk_user_id' => 40
                    'name' => 'Hera Portugal Lda'
                    'phone_number' => '214785963'
                    'vat_number' => '510254785'
                    'vat_exempt' => 0
                    'address_line1' => 'Av Principal, 56'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2800'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:07:34'
                    'updated_on' => '2020-04-16 16:07:34'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 17
                    'fk_user_id' => 40
                    'name' => 'Hera Portugal Lda'
                    'phone_number' => '214785963'
                    'vat_number' => '510254785'
                    'vat_exempt' => 0
                    'address_line1' => 'Av Principal, 56'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2800'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:07:34'
                    'updated_on' => '2020-04-16 16:07:34'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 40
                            'name' => 'Luisa Brito'
                            'email' => 'lbrito@dpoagenda.eu'
                            'password' => '9aecf3b646520af5ad737162fab70e085fc740ee'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:07:34'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:07:34'
                            'updated_on' => '2020-04-16 16:07:34'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 40
                            'name' => 'Luisa Brito'
                            'email' => 'lbrito@dpoagenda.eu'
                            'password' => '9aecf3b646520af5ad737162fab70e085fc740ee'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:07:34'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:07:34'
                            'updated_on' => '2020-04-16 16:07:34'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'application/json, text/javascript, */*; q=0.01'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded; charset=UTF-8'
    'HTTP_X_REQUESTED_WITH' => 'XMLHttpRequest'
    'CONTENT_LENGTH' => '169'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php'
    'HTTP_COOKIE' => 'PHPSESSID=sm0lvm8ipkvvhgmgo50iboc8js; _csrf=673979e0dd9b0dcdeeb5daf3016bffad87f4811115a34ddfb4bc6612e0424927a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22OmLOHxMTfTo3smhgXYe7fHn2yJsego4c%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38176'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=json%2Floginuser'
    'REQUEST_URI' => '/index.php?r=json%2Floginuser'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049686.45
    'REQUEST_TIME' => 1587049686
]
2020-04-16 15:08:06 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:08:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:08:06 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:08:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:08:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:08:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 15:08:06 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 15:08:06 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/views/dashboard/index.php:25
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 15:08:06 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:62
2020-04-16 15:08:06 [::1][1][-][info][application] $_GET = [
    'r' => 'dashboard/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '66gipr6fbihfharfkqj198jl0j'
    '_csrf' => '4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Luisa Brito'
        [user_email] => 'lbrito@dpoagenda.eu'
        [client_subdomain] => 'hera'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Hera Portugal Lda'
        [client_phone] => '214785963'
        [client_vat_exempt] => false
        [client_vat_number] => '510254785'
        [client_address_line1] => 'Av Principal, 56'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2800'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 17
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '510254785#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 39
            'payment_processor_reference' => '000073924'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 17
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '510254785#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 39
            'payment_processor_reference' => '000073924'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 17
                    'fk_user_id' => 40
                    'name' => 'Hera Portugal Lda'
                    'phone_number' => '214785963'
                    'vat_number' => '510254785'
                    'vat_exempt' => 0
                    'address_line1' => 'Av Principal, 56'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2800'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:07:34'
                    'updated_on' => '2020-04-16 16:07:34'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 17
                    'fk_user_id' => 40
                    'name' => 'Hera Portugal Lda'
                    'phone_number' => '214785963'
                    'vat_number' => '510254785'
                    'vat_exempt' => 0
                    'address_line1' => 'Av Principal, 56'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2800'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:07:34'
                    'updated_on' => '2020-04-16 16:07:34'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 40
                            'name' => 'Luisa Brito'
                            'email' => 'lbrito@dpoagenda.eu'
                            'password' => '9aecf3b646520af5ad737162fab70e085fc740ee'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:07:34'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:07:34'
                            'updated_on' => '2020-04-16 16:07:34'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 40
                            'name' => 'Luisa Brito'
                            'email' => 'lbrito@dpoagenda.eu'
                            'password' => '9aecf3b646520af5ad737162fab70e085fc740ee'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:07:34'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:07:34'
                            'updated_on' => '2020-04-16 16:07:34'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php'
    'HTTP_COOKIE' => 'PHPSESSID=66gipr6fbihfharfkqj198jl0j; _csrf=4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38176'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=dashboard%2Findex'
    'REQUEST_URI' => '/index.php?r=dashboard%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049686.499
    'REQUEST_TIME' => 1587049686
]
2020-04-16 15:08:08 [::1][1][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:08:08 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:08:08 [::1][1][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:08:08 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:08:08 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:08:08 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 15:08:08 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 15:08:08 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/models/User.php:171
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:28
2020-04-16 15:08:08 [::1][1][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 15:08:08 [::1][1][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/models/ScheduleddeploysSearch.php:50
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:49
2020-04-16 15:08:08 [::1][1][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 15:08:08 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `scheduleddeploys` ORDER BY `deployed_on`, `created_on` DESC LIMIT 20
    in /home/fmm/work/dpo/portal/views/scheduleddeploys/index.php:18
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 15:08:08 [::1][1][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `fk_user_id`=1
    in /home/fmm/work/dpo/portal/models/User.php:108
    in /home/fmm/work/dpo/portal/views/layouts/main.php:49
    in /home/fmm/work/dpo/portal/controllers/ScheduleddeploysController.php:53
2020-04-16 15:08:08 [::1][1][-][info][application] $_GET = [
    'r' => 'scheduleddeploys/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '66gipr6fbihfharfkqj198jl0j'
    '_csrf' => '4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Luisa Brito'
        [user_email] => 'lbrito@dpoagenda.eu'
        [client_subdomain] => 'hera'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Hera Portugal Lda'
        [client_phone] => '214785963'
        [client_vat_exempt] => false
        [client_vat_number] => '510254785'
        [client_address_line1] => 'Av Principal, 56'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2800'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 17
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '510254785#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 39
            'payment_processor_reference' => '000073924'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 17
            'fk_productversion_id' => '1'
            'value_license' => 359
            'value_cost' => '359.00'
            'value_payed' => '441.57'
            'value_promocode' => 0
            'payment_reference' => '510254785#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 39
            'payment_processor_reference' => '000073924'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 17
                    'fk_user_id' => 40
                    'name' => 'Hera Portugal Lda'
                    'phone_number' => '214785963'
                    'vat_number' => '510254785'
                    'vat_exempt' => 0
                    'address_line1' => 'Av Principal, 56'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2800'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:07:34'
                    'updated_on' => '2020-04-16 16:07:34'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 17
                    'fk_user_id' => 40
                    'name' => 'Hera Portugal Lda'
                    'phone_number' => '214785963'
                    'vat_number' => '510254785'
                    'vat_exempt' => 0
                    'address_line1' => 'Av Principal, 56'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2800'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:07:34'
                    'updated_on' => '2020-04-16 16:07:34'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 40
                            'name' => 'Luisa Brito'
                            'email' => 'lbrito@dpoagenda.eu'
                            'password' => '9aecf3b646520af5ad737162fab70e085fc740ee'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:07:34'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:07:34'
                            'updated_on' => '2020-04-16 16:07:34'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 40
                            'name' => 'Luisa Brito'
                            'email' => 'lbrito@dpoagenda.eu'
                            'password' => '9aecf3b646520af5ad737162fab70e085fc740ee'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:07:34'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:07:34'
                            'updated_on' => '2020-04-16 16:07:34'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'name' => 'Orange Pack'
                    'description' => 'ORANGE_PACK_1'
                    'type' => 'saas'
                    'price_install' => '275.00'
                    'price_license' => '84.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 1
                    'allows_scheduling' => 0
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    '__id' => 1
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=dashboard%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=66gipr6fbihfharfkqj198jl0j; _csrf=4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38176'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=scheduleddeploys%2Findex'
    'REQUEST_URI' => '/index.php?r=scheduleddeploys%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049688.288
    'REQUEST_TIME' => 1587049688
]
2020-04-16 15:09:33 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:09:33 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:09:33 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:09:33 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:09:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/User.php:232
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:09:33 [::1][-][-][info][yii\web\User::logout] User '1' logged out from ::1.
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:74
2020-04-16 15:09:33 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/controllers/DashboardController.php:74
2020-04-16 15:09:33 [::1][-][-][info][application] $_GET = [
    'r' => 'dashboard/logout'
]

$_POST = [
    '_csrf' => '_fjDTPCEaSyJ3aAvbtXXAAJlEQ4fSEAb1qCOzAhebY6Nwao1uugjRu2_xFwco_pIbCY8QkArLy-d5NSFPg8Awg=='
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '66gipr6fbihfharfkqj198jl0j'
    '_csrf' => '4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL\";}'
    '_identity' => 'be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a:2:{i:0;s:9:\"_identity\";i:1;s:16:\"[1,null,2592000]\";}'
]

$_SESSION = []

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '98'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=66gipr6fbihfharfkqj198jl0j; _csrf=4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL%22%3B%7D; _identity=be90d77f32f3154332d5c2860c854282e8a9750e25771177f0299aaf727e22a4a%3A2%3A%7Bi%3A0%3Bs%3A9%3A%22_identity%22%3Bi%3A1%3Bs%3A16%3A%22%5B1%2Cnull%2C2592000%5D%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38202'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=dashboard%2Flogout'
    'REQUEST_URI' => '/index.php?r=dashboard%2Flogout'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049773.956
    'REQUEST_TIME' => 1587049773
]
2020-04-16 15:09:33 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:09:33 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:09:33 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:09:33 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:09:33 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:09:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:09:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:09:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:09:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-04-16 15:09:33 [::1][-][-][info][application] $_GET = [
    'r' => 'site/index'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '8r1ug5lki1sggohimtgod4qta5'
    '_csrf' => '4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=scheduleddeploys%2Findex'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=8r1ug5lki1sggohimtgod4qta5; _csrf=4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38202'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex'
    'REQUEST_URI' => '/index.php?r=site%2Findex'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049773.972
    'REQUEST_TIME' => 1587049773
]
2020-04-16 15:09:37 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:09:37 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:123
2020-04-16 15:09:37 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `language` ORDER BY `name`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:123
2020-04-16 15:09:37 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step1'
    'pid' => '2'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '8r1ug5lki1sggohimtgod4qta5'
    '_csrf' => '4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Findex'
    'HTTP_COOKIE' => 'PHPSESSID=8r1ug5lki1sggohimtgod4qta5; _csrf=4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38212'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep1&pid=2'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep1&pid=2'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049777.586
    'REQUEST_TIME' => 1587049777
]
2020-04-16 15:10:00 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:10:00 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/forms/ProductSignupStep1Form.php:50
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:116
2020-04-16 15:10:00 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/forms/ProductSignupStep1Form.php:50
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:116
2020-04-16 15:10:00 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/forms/ProductSignupStep1Form.php:50
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:116
2020-04-16 15:10:00 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `subdomain`='kinas'
    in /home/fmm/work/dpo/portal/models/forms/ProductSignupStep1Form.php:50
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:116
2020-04-16 15:10:00 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step1'
    'pid' => '2'
]

$_POST = [
    '_csrf' => 'v6maw6r0hlmSCH92Mq9kWGQhc1yVsIdSMKcWbHWvtHzPkPO64JjMM_ZqGwVA2UkQCmJeEMrT6GZ740wlQ_7ZMA=='
    'ProductSignupStep1Form' => [
        'client_subdomain' => 'kinas'
        'client_language_code' => 'PT'
        'user_name' => 'Cristiano Geraldes'
        'user_email' => 'cgeraldes@kinas.fde'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '8r1ug5lki1sggohimtgod4qta5'
    '_csrf' => '4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Cristiano Geraldes'
        [user_email] => 'cgeraldes@kinas.fde'
        [client_subdomain] => 'kinas'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '350'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep1&pid=2'
    'HTTP_COOKIE' => 'PHPSESSID=8r1ug5lki1sggohimtgod4qta5; _csrf=4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38228'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep1&pid=2'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep1&pid=2'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049800.787
    'REQUEST_TIME' => 1587049800
]
2020-04-16 15:10:00 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:10:00 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/views/productsignup/step2.php:89
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:194
2020-04-16 15:10:00 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `country` ORDER BY `name`
    in /home/fmm/work/dpo/portal/views/productsignup/step2.php:89
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:194
2020-04-16 15:10:00 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step2'
    'pid' => '2'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '8r1ug5lki1sggohimtgod4qta5'
    '_csrf' => '4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Cristiano Geraldes'
        [user_email] => 'cgeraldes@kinas.fde'
        [client_subdomain] => 'kinas'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep1&pid=2'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=8r1ug5lki1sggohimtgod4qta5; _csrf=4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38228'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep2&pid=2'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep2&pid=2'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049800.803
    'REQUEST_TIME' => 1587049800
]
2020-04-16 15:10:26 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:10:26 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step2'
    'pid' => '2'
]

$_POST = [
    '_csrf' => '6CsgtHCwjuE5wVgutW-0EfnYxJTmH6g34TgPyqsfK7CYEknNOtzEi12jPF3HGZlZl5vp2Ll8xwOqfFWDnU5G_A=='
    'ProductSignupStep2Form' => [
        'client_name' => 'Kinas'
        'client_phone' => '145788522'
        'client_country_code' => 'PT'
        'client_vat_number' => '125457878'
        'client_address_line1' => 'Av. Principal, 09'
        'client_address_line2' => ''
        'client_city' => 'Oeiras'
        'client_zip' => '2480'
        'allow_terms_conditions' => '1'
        'allow_referral' => '0'
        'allow_marketing' => '0'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '8r1ug5lki1sggohimtgod4qta5'
    '_csrf' => '4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Cristiano Geraldes'
        [user_email] => 'cgeraldes@kinas.fde'
        [client_subdomain] => 'kinas'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Kinas'
        [client_phone] => '145788522'
        [client_vat_exempt] => false
        [client_vat_number] => '125457878'
        [client_address_line1] => 'Av. Principal, 09'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2480'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '740'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep2&pid=2'
    'HTTP_COOKIE' => 'PHPSESSID=8r1ug5lki1sggohimtgod4qta5; _csrf=4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38240'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep2&pid=2'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep2&pid=2'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049826.275
    'REQUEST_TIME' => 1587049826
]
2020-04-16 15:10:26 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:10:26 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-16 15:10:26 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-16 15:10:26 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-16 15:10:26 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='2'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-16 15:10:26 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '2'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '8r1ug5lki1sggohimtgod4qta5'
    '_csrf' => '4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Cristiano Geraldes'
        [user_email] => 'cgeraldes@kinas.fde'
        [client_subdomain] => 'kinas'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Kinas'
        [client_phone] => '145788522'
        [client_vat_exempt] => false
        [client_vat_number] => '125457878'
        [client_address_line1] => 'Av. Principal, 09'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2480'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep2&pid=2'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=8r1ug5lki1sggohimtgod4qta5; _csrf=4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38240'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=2'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=2'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049826.285
    'REQUEST_TIME' => 1587049826
]
2020-04-16 15:10:32 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='2'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:211
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE (`email`='cgeraldes@kinas.fde') AND (`id` > 100)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:244
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:248
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `user` (`name`, `email`, `password`, `type`, `terms_conditions_agreement`, `updated_by`, `active`, `created_on`) VALUES ('Cristiano Geraldes', 'cgeraldes@kinas.fde', '06a1b490731f9b3db381cea255a2b42f6af5cefc', 'client', NOW(), 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:259
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE (`vat_number`='125457878') AND (`fk_country_id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:263
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:267
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:267
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `country` WHERE `country`.`id`='PT')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `user` WHERE `user`.`id`=41)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `client` (`fk_user_id`, `name`, `phone_number`, `vat_number`, `vat_exempt`, `address_line1`, `city`, `zip_code`, `fk_country_id`, `updated_by`, `active`, `created_on`) VALUES (41, 'Kinas', '145788522', '125457878', 0, 'Av. Principal, 09', 'Oeiras', '2480', 'PT', 1, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:279
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:284
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `promocode`
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'promocode' AND kcu.table_name = 'promocode'
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE `code`=''
    in /home/fmm/work/dpo/portal/models/PromocodeSearch.php:85
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:288
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=18)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='2')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `sale` (`fk_consultant_id`, `fk_client_id`, `fk_productversion_id`, `value_license`, `value_cost`, `value_payed`, `value_promocode`, `payment_reference`, `invoice_number`, `status`, `updated_by`, `created_on`) VALUES (1, 18, 2, '649', '649.00', '798.27', '0', '125457878#20200416', '#To Be Issued', 'pending', 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:307
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `consultant` WHERE `id`=1
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `consultant`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'consultant' AND kcu.table_name = 'consultant'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:310
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `accountmovement`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'accountmovement' AND kcu.table_name = 'accountmovement'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:312
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `promocode` WHERE 0=1
    in /home/fmm/work/dpo/portal/components/Calculus.php:60
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:315
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=40)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `accountmovement` WHERE `fk_consultant_id`=1 ORDER BY `id` DESC
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:85
    in /home/fmm/work/dpo/portal/models/AccountmovementSearch.php:92
    in /home/fmm/work/dpo/portal/models/Accountmovement.php:170
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `accountmovement` (`fk_consultant_id`, `fk_sale_id`, `type`, `value`, `date`, `description`, `updated_by`, `created_on`, `balance`) VALUES (1, 40, 'credit', '0', NOW(), 'Sale to Kinas', 1, NOW(), '0')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:318
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:322
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `sale` WHERE `sale`.`id`=40)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `license` (`fk_sale_id`, `type`, `subdomain`, `language_code`, `cypher_key`, `valid_until`, `max_users`, `allows_scheduling`, `allows_analysis`, `allows_integration`, `disk_space`, `updated_by`, `created_on`) VALUES (40, 'new', 'kinas', 'PT', 'PT125457878', '2021-04-17', 6, 1, 0, 0, 3, 1, NOW())
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:333
2020-04-16 15:10:32 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '2'
]

$_POST = [
    '_csrf' => 'Aqn9JWYoPQBJ6FAOA1UCBcVeDnasHEOIR_-IeoXGg1tykJRcLER3ai2KNH1xIy9Nqx0jOvN_LLwMu9Izs5fuFw=='
    'ProductSignupStep3Form' => [
        'promo_code' => ''
    ]
    'CreditCardForm' => [
        'number' => '5017670000001800'
        'ccv' => '123'
        'expire_month' => '12'
        'expire_year' => '2020'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '8r1ug5lki1sggohimtgod4qta5'
    '_csrf' => '4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Cristiano Geraldes'
        [user_email] => 'cgeraldes@kinas.fde'
        [client_subdomain] => 'kinas'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Kinas'
        [client_phone] => '145788522'
        [client_vat_exempt] => false
        [client_vat_number] => '125457878'
        [client_address_line1] => 'Av. Principal, 09'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2480'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 18
            'fk_productversion_id' => '2'
            'value_license' => 649
            'value_cost' => '649.00'
            'value_payed' => '798.27'
            'value_promocode' => 0
            'payment_reference' => '125457878#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 40
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 18
            'fk_productversion_id' => '2'
            'value_license' => 649
            'value_cost' => '649.00'
            'value_payed' => '798.27'
            'value_promocode' => 0
            'payment_reference' => '125457878#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 40
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#25
        (
            [0] => yii\validators\RequiredValidator#26
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#27
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#28
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#29
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#30
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#31
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#32
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#33
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#34
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#35
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#37
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_CC' => app\models\forms\CreditCardForm#38
    (
        [number] => '5017670000001800'
        [ccv] => '123'
        [expire_month] => '12'
        [expire_year] => '2020'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#39
        (
            [0] => yii\validators\RequiredValidator#40
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'number'
                    1 => 'ccv'
                    2 => 'expire_month'
                    3 => 'expire_year'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#41
            (
                [integerOnly] => true
                [max] => 9999
                [min] => 100
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#42
            (
                [length] => null
                [max] => null
                [min] => 16
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\NumberValidator#43
            (
                [integerOnly] => true
                [max] => 12
                [min] => 1
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_month'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\NumberValidator#44
            (
                [integerOnly] => true
                [max] => 2029
                [min] => '2020'
                [tooBig] => '“{attribute}” não pode ser maior do que {max}.'
                [tooSmall] => '“{attribute}” não pode ser menor do que {min}.'
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\RegularExpressionValidator#45
            (
                [pattern] => '/^[1-9]([0-9\\-])*$/'
                [not] => false
                [attributes] => [
                    0 => 'number'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#46
            (
                [method] => 'validateCCNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'number'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\InlineValidator#47
            (
                [method] => 'validateCCVNumber'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'ccv'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#48
            (
                [method] => 'validateDate'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'expire_year'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '314'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=2'
    'HTTP_COOKIE' => 'PHPSESSID=8r1ug5lki1sggohimtgod4qta5; _csrf=4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38246'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=2'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=2'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049832.002
    'REQUEST_TIME' => 1587049832
]
2020-04-16 15:10:32 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=40 ORDER BY `valid_until` DESC, `updated_on` DESC
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/Sale.php:163
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:366
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=18
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:367
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=41
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:368
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='2'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-16 15:10:32 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:369
2020-04-16 15:10:36 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:404
2020-04-16 15:10:36 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=18)
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:404
2020-04-16 15:10:36 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`='2')
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:404
2020-04-16 15:10:36 [::1][-][-][info][yii\db\Command::execute] UPDATE `sale` SET `payment_processor_reference`='000073926' WHERE `id`=40
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:404
2020-04-16 15:10:32 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/payment'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '8r1ug5lki1sggohimtgod4qta5'
    '_csrf' => '4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Cristiano Geraldes'
        [user_email] => 'cgeraldes@kinas.fde'
        [client_subdomain] => 'kinas'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Kinas'
        [client_phone] => '145788522'
        [client_vat_exempt] => false
        [client_vat_number] => '125457878'
        [client_address_line1] => 'Av. Principal, 09'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2480'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 18
            'fk_productversion_id' => '2'
            'value_license' => 649
            'value_cost' => '649.00'
            'value_payed' => '798.27'
            'value_promocode' => 0
            'payment_reference' => '125457878#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 40
            'payment_processor_reference' => '000073926'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 18
            'fk_productversion_id' => '2'
            'value_license' => 649
            'value_cost' => '649.00'
            'value_payed' => '798.27'
            'value_promocode' => 0
            'payment_reference' => '125457878#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 40
            'payment_processor_reference' => '000073926'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 18
                    'fk_user_id' => 41
                    'name' => 'Kinas'
                    'phone_number' => '145788522'
                    'vat_number' => '125457878'
                    'vat_exempt' => 0
                    'address_line1' => 'Av. Principal, 09'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2480'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:10:32'
                    'updated_on' => '2020-04-16 16:10:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 18
                    'fk_user_id' => 41
                    'name' => 'Kinas'
                    'phone_number' => '145788522'
                    'vat_number' => '125457878'
                    'vat_exempt' => 0
                    'address_line1' => 'Av. Principal, 09'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2480'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:10:32'
                    'updated_on' => '2020-04-16 16:10:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 41
                            'name' => 'Cristiano Geraldes'
                            'email' => 'cgeraldes@kinas.fde'
                            'password' => '06a1b490731f9b3db381cea255a2b42f6af5cefc'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:10:32'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:10:32'
                            'updated_on' => '2020-04-16 16:10:32'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 41
                            'name' => 'Cristiano Geraldes'
                            'email' => 'cgeraldes@kinas.fde'
                            'password' => '06a1b490731f9b3db381cea255a2b42f6af5cefc'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:10:32'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:10:32'
                            'updated_on' => '2020-04-16 16:10:32'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 2
                    'name' => 'Green Pack'
                    'description' => 'GREEN_PACK_1'
                    'type' => 'saas'
                    'price_install' => '517.00'
                    'price_license' => '132.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 6
                    'allows_scheduling' => 1
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 3
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 2
                    'name' => 'Green Pack'
                    'description' => 'GREEN_PACK_1'
                    'type' => 'saas'
                    'price_install' => '517.00'
                    'price_license' => '132.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 6
                    'allows_scheduling' => 1
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 3
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=2'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=8r1ug5lki1sggohimtgod4qta5; _csrf=4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38246'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fpayment'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fpayment'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049832.134
    'REQUEST_TIME' => 1587049832
]
2020-04-16 15:11:04 [::1][-][8r1ug5lki1sggohimtgod4qta5][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:11:04 [::1][-][8r1ug5lki1sggohimtgod4qta5][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:274
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:204
2020-04-16 15:11:04 [::1][-][8r1ug5lki1sggohimtgod4qta5][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:274
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:204
2020-04-16 15:11:04 [::1][-][8r1ug5lki1sggohimtgod4qta5][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:274
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:204
2020-04-16 15:11:04 [::1][-][8r1ug5lki1sggohimtgod4qta5][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`='40'
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:274
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:204
2020-04-16 15:11:04 [::1][-][8r1ug5lki1sggohimtgod4qta5][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:215
2020-04-16 15:11:04 [::1][-][8r1ug5lki1sggohimtgod4qta5][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=18)
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:215
2020-04-16 15:11:04 [::1][-][8r1ug5lki1sggohimtgod4qta5][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`=2)
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:215
2020-04-16 15:11:04 [::1][-][8r1ug5lki1sggohimtgod4qta5][info][yii\db\Command::execute] UPDATE `sale` SET `payment_date`='2020-04-16 15:11', `status`='accepted' WHERE `id`=40
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:215
2020-04-16 15:11:04 [::1][-][8r1ug5lki1sggohimtgod4qta5][error][yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: app\models\Sale::fkLicense in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Component.php:154
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/db/BaseActiveRecord.php(298): yii\base\Component->__get()
#1 /home/fmm/work/dpo/portal/controllers/CheckoutController.php(218): yii\db\BaseActiveRecord->__get()
#2 [internal function]: app\controllers\CheckoutController->actionDone()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#8 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#9 {main}
2020-04-16 15:11:04 [::1][-][8r1ug5lki1sggohimtgod4qta5][info][application] $_GET = [
    'r' => 'checkout/done'
    'id' => '40'
    'reference' => 'MTI1NDU3ODc4IzIwMjAwNDE2'
    'eupago_status' => 'ok'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '8r1ug5lki1sggohimtgod4qta5'
    '_csrf' => '4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Cristiano Geraldes'
        [user_email] => 'cgeraldes@kinas.fde'
        [client_subdomain] => 'kinas'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Kinas'
        [client_phone] => '145788522'
        [client_vat_exempt] => false
        [client_vat_number] => '125457878'
        [client_address_line1] => 'Av. Principal, 09'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2480'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 18
            'fk_productversion_id' => '2'
            'value_license' => 649
            'value_cost' => '649.00'
            'value_payed' => '798.27'
            'value_promocode' => 0
            'payment_reference' => '125457878#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 40
            'payment_processor_reference' => '000073926'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 18
            'fk_productversion_id' => '2'
            'value_license' => 649
            'value_cost' => '649.00'
            'value_payed' => '798.27'
            'value_promocode' => 0
            'payment_reference' => '125457878#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 40
            'payment_processor_reference' => '000073926'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 18
                    'fk_user_id' => 41
                    'name' => 'Kinas'
                    'phone_number' => '145788522'
                    'vat_number' => '125457878'
                    'vat_exempt' => 0
                    'address_line1' => 'Av. Principal, 09'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2480'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:10:32'
                    'updated_on' => '2020-04-16 16:10:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 18
                    'fk_user_id' => 41
                    'name' => 'Kinas'
                    'phone_number' => '145788522'
                    'vat_number' => '125457878'
                    'vat_exempt' => 0
                    'address_line1' => 'Av. Principal, 09'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2480'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:10:32'
                    'updated_on' => '2020-04-16 16:10:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 41
                            'name' => 'Cristiano Geraldes'
                            'email' => 'cgeraldes@kinas.fde'
                            'password' => '06a1b490731f9b3db381cea255a2b42f6af5cefc'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:10:32'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:10:32'
                            'updated_on' => '2020-04-16 16:10:32'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 41
                            'name' => 'Cristiano Geraldes'
                            'email' => 'cgeraldes@kinas.fde'
                            'password' => '06a1b490731f9b3db381cea255a2b42f6af5cefc'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:10:32'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:10:32'
                            'updated_on' => '2020-04-16 16:10:32'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 2
                    'name' => 'Green Pack'
                    'description' => 'GREEN_PACK_1'
                    'type' => 'saas'
                    'price_install' => '517.00'
                    'price_license' => '132.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 6
                    'allows_scheduling' => 1
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 3
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 2
                    'name' => 'Green Pack'
                    'description' => 'GREEN_PACK_1'
                    'type' => 'saas'
                    'price_install' => '517.00'
                    'price_license' => '132.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 6
                    'allows_scheduling' => 1
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 3
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=8r1ug5lki1sggohimtgod4qta5; _csrf=4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38268'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=checkout/done&id=40&reference=MTI1NDU3ODc4IzIwMjAwNDE2&eupago_status=ok'
    'REQUEST_URI' => '/index.php?r=checkout/done&id=40&reference=MTI1NDU3ODc4IzIwMjAwNDE2&eupago_status=ok'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587049864.938
    'REQUEST_TIME' => 1587049864
]
2020-04-16 15:17:56 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `sale`
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:274
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:204
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:274
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:204
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'sale' AND kcu.table_name = 'sale'
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:274
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:204
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`='40'
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:274
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:204
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `consultant` WHERE `consultant`.`id`=1)
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:215
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `client` WHERE `client`.`id`=18)
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:215
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `productversion` WHERE `productversion`.`id`=2)
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:215
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::execute] UPDATE `sale` SET `payment_date`='2020-04-16 15:17' WHERE `id`=40
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:215
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `fk_sale_id`=40
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:152
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:218
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:152
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:218
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/LicenseSearch.php:152
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:218
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `sale` WHERE `id`=40
    in /home/fmm/work/dpo/portal/components/Deploy.php:34
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:218
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `client` WHERE `id`=18
    in /home/fmm/work/dpo/portal/components/Deploy.php:35
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:218
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `client`
    in /home/fmm/work/dpo/portal/components/Deploy.php:35
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:218
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'client' AND kcu.table_name = 'client'
    in /home/fmm/work/dpo/portal/components/Deploy.php:35
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:218
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `id`=41
    in /home/fmm/work/dpo/portal/components/Deploy.php:36
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:218
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/components/Deploy.php:36
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:218
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/components/Deploy.php:36
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:218
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `scheduleddeploys`
    in /home/fmm/work/dpo/portal/components/Deploy.php:58
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:218
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'scheduleddeploys' AND kcu.table_name = 'scheduleddeploys'
    in /home/fmm/work/dpo/portal/components/Deploy.php:58
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:218
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::query] SELECT EXISTS(SELECT * FROM `license` WHERE `license`.`id`=40)
    in /home/fmm/work/dpo/portal/components/Deploy.php:62
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:218
2020-04-16 15:17:56 [::1][-][-][info][yii\db\Command::execute] INSERT INTO `scheduleddeploys` (`fk_license_id`, `subdomain`, `params`, `email`) VALUES (40, 'kinas', '-d=kinas -dp=/home/fmm/work/dpo/portal/subdomains/kinas -fn=125457878 -em=cgeraldes@kinas.fde -ph=145788522 -url=https://kinas.dpoagenda.eu -l=pt -dbsn=localhost -dbsp=3306 -dbu=dpoagend_Usr -dbp=dpoAgenda!2019 -db=db_kinas -ts=1 -csd=40', 'cgeraldes@kinas.fde')
    in /home/fmm/work/dpo/portal/components/Deploy.php:62
    in /home/fmm/work/dpo/portal/controllers/CheckoutController.php:218
2020-04-16 15:17:56 [::1][-][-][info][application] $_GET = [
    'r' => 'checkout/done'
    'id' => '40'
    'reference' => 'MTI1NDU3ODc4IzIwMjAwNDE2'
    'eupago_status' => 'ok'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '8r1ug5lki1sggohimtgod4qta5'
    '_csrf' => '4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Cristiano Geraldes'
        [user_email] => 'cgeraldes@kinas.fde'
        [client_subdomain] => 'kinas'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Kinas'
        [client_phone] => '145788522'
        [client_vat_exempt] => false
        [client_vat_number] => '125457878'
        [client_address_line1] => 'Av. Principal, 09'
        [client_address_line2] => ''
        [client_city] => 'Oeiras'
        [client_zip] => '2480'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_SALE' => app\models\Sale#22
    (
        [yii\db\BaseActiveRecord:_attributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 18
            'fk_productversion_id' => '2'
            'value_license' => 649
            'value_cost' => '649.00'
            'value_payed' => '798.27'
            'value_promocode' => 0
            'payment_reference' => '125457878#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23
            (
                [expression] => 'NOW()'
                [params] => []
            )
            'id' => 40
            'payment_processor_reference' => '000073926'
        ]
        [yii\db\BaseActiveRecord:_oldAttributes] => [
            'fk_consultant_id' => 1
            'fk_client_id' => 18
            'fk_productversion_id' => '2'
            'value_license' => 649
            'value_cost' => '649.00'
            'value_payed' => '798.27'
            'value_promocode' => 0
            'payment_reference' => '125457878#20200416'
            'invoice_number' => '#To Be Issued'
            'status' => 'pending'
            'updated_by' => 1
            'created_on' => yii\db\Expression#23(...)
            'id' => 40
            'payment_processor_reference' => '000073926'
        ]
        [yii\db\BaseActiveRecord:_related] => [
            'fkConsultant' => app\models\Consultant#24
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 1
                    'fk_user_id' => 1
                    'name' => 'Hexónio Consulting Lda'
                    'phone_number' => '+351 211 542 606'
                    'sale_commission_new' => '0.0'
                    'sale_commission_renew' => '0.0'
                    'vat_number' => '510591957'
                    'address_line1' => 'Edificio Rainbow'
                    'address_line2' => 'Rua Amélia Rey Colaço, 40'
                    'city' => 'Oeiras'
                    'zip_code' => '2790-017 Carnaxide'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkPromocode' => null
            'fkClient' => app\models\Client#25
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 18
                    'fk_user_id' => 41
                    'name' => 'Kinas'
                    'phone_number' => '145788522'
                    'vat_number' => '125457878'
                    'vat_exempt' => 0
                    'address_line1' => 'Av. Principal, 09'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2480'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:10:32'
                    'updated_on' => '2020-04-16 16:10:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 18
                    'fk_user_id' => 41
                    'name' => 'Kinas'
                    'phone_number' => '145788522'
                    'vat_number' => '125457878'
                    'vat_exempt' => 0
                    'address_line1' => 'Av. Principal, 09'
                    'address_line2' => null
                    'city' => 'Oeiras'
                    'zip_code' => '2480'
                    'fk_country_id' => 'PT'
                    'active' => 1
                    'created_on' => '2020-04-16 16:10:32'
                    'updated_on' => '2020-04-16 16:10:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => [
                    'fkUser' => app\models\User#26
                    (
                        [authKey] => null
                        [accessToken] => null
                        [yii\db\BaseActiveRecord:_attributes] => [
                            'id' => 41
                            'name' => 'Cristiano Geraldes'
                            'email' => 'cgeraldes@kinas.fde'
                            'password' => '06a1b490731f9b3db381cea255a2b42f6af5cefc'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:10:32'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:10:32'
                            'updated_on' => '2020-04-16 16:10:32'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_oldAttributes] => [
                            'id' => 41
                            'name' => 'Cristiano Geraldes'
                            'email' => 'cgeraldes@kinas.fde'
                            'password' => '06a1b490731f9b3db381cea255a2b42f6af5cefc'
                            'type' => 'client'
                            'terms_conditions_agreement' => '2020-04-16 16:10:32'
                            'allows_referral' => null
                            'allows_marketing' => null
                            'active' => 1
                            'created_on' => '2020-04-16 16:10:32'
                            'updated_on' => '2020-04-16 16:10:32'
                            'updated_by' => 1
                        ]
                        [yii\db\BaseActiveRecord:_related] => []
                        [yii\db\BaseActiveRecord:_relationsDependencies] => []
                        [yii\base\Model:_errors] => null
                        [yii\base\Model:_validators] => null
                        [yii\base\Model:_scenario] => 'default'
                        [yii\base\Component:_events] => []
                        [yii\base\Component:_eventWildcards] => []
                        [yii\base\Component:_behaviors] => []
                    )
                ]
                [yii\db\BaseActiveRecord:_relationsDependencies] => [
                    'fk_user_id' => [
                        'fkUser' => 'fkUser'
                    ]
                ]
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
            'fkProductversion' => app\models\Productversion#27
            (
                [yii\db\BaseActiveRecord:_attributes] => [
                    'id' => 2
                    'name' => 'Green Pack'
                    'description' => 'GREEN_PACK_1'
                    'type' => 'saas'
                    'price_install' => '517.00'
                    'price_license' => '132.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 6
                    'allows_scheduling' => 1
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 3
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_oldAttributes] => [
                    'id' => 2
                    'name' => 'Green Pack'
                    'description' => 'GREEN_PACK_1'
                    'type' => 'saas'
                    'price_install' => '517.00'
                    'price_license' => '132.00'
                    'active' => 1
                    'start' => '2020-01-23 17:32:32'
                    'finish' => null
                    'version_number' => 1
                    'included_users' => 6
                    'allows_scheduling' => 1
                    'allows_analysis' => 0
                    'allows_integration' => 0
                    'included_disk_space' => 3
                    'created_on' => '2020-01-23 17:32:32'
                    'updated_on' => '2020-01-23 17:32:32'
                    'updated_by' => 1
                ]
                [yii\db\BaseActiveRecord:_related] => []
                [yii\db\BaseActiveRecord:_relationsDependencies] => []
                [yii\base\Model:_errors] => null
                [yii\base\Model:_validators] => null
                [yii\base\Model:_scenario] => 'default'
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => []
            )
        ]
        [yii\db\BaseActiveRecord:_relationsDependencies] => [
            'fk_consultant_id' => [
                'fkConsultant' => 'fkConsultant'
            ]
            'fk_promocode_id' => [
                'fkPromocode' => 'fkPromocode'
            ]
            'fk_client_id' => [
                'fkClient' => 'fkClient'
            ]
            'fk_productversion_id' => [
                'fkProductversion' => 'fkProductversion'
            ]
        ]
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#28
        (
            [0] => yii\validators\RequiredValidator#29
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'value_license'
                    4 => 'value_cost'
                    5 => 'value_payed'
                    6 => 'payment_reference'
                    7 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\NumberValidator#30
            (
                [integerOnly] => true
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'fk_productversion_id'
                    1 => 'fk_client_id'
                    2 => 'fk_consultant_id'
                    3 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” deve ser um número inteiro.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\NumberValidator#31
            (
                [integerOnly] => false
                [max] => null
                [min] => null
                [tooBig] => null
                [tooSmall] => null
                [integerPattern] => '/^\\s*[+-]?\\d+\\s*$/'
                [numberPattern] => '/^\\s*[-+]?[0-9]*\\.?[0-9]+([eE][-+]?[0-9]+)?\\s*$/'
                [attributes] => [
                    0 => 'value_license'
                    1 => 'value_promocode'
                    2 => 'value_cost'
                    3 => 'value_payed'
                    4 => 'consultant_fee'
                ]
                [message] => '“{attribute}” deve ser um número.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\SafeValidator#32
            (
                [attributes] => [
                    0 => 'payment_date'
                    1 => 'created_on'
                    2 => 'updated_on'
                    3 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#33
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'status'
                    1 => 'status_reason'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#34
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'payment_reference'
                    1 => 'payment_processor_reference'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#35
            (
                [length] => null
                [max] => 25
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'invoice_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\ExistValidator#36
            (
                [targetClass] => 'app\\models\\Consultant'
                [targetAttribute] => [
                    'fk_consultant_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_consultant_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\ExistValidator#37
            (
                [targetClass] => 'app\\models\\Client'
                [targetAttribute] => [
                    'fk_client_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_client_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [9] => yii\validators\ExistValidator#38
            (
                [targetClass] => 'app\\models\\Productversion'
                [targetAttribute] => [
                    'fk_productversion_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_productversion_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [10] => yii\validators\ExistValidator#39
            (
                [targetClass] => 'app\\models\\Promocode'
                [targetAttribute] => [
                    'fk_promocode_id' => 'id'
                ]
                [targetRelation] => null
                [filter] => null
                [allowArray] => false
                [targetAttributeJunction] => 'and'
                [forceMasterDb] => true
                [attributes] => [
                    0 => 'fk_promocode_id'
                ]
                [message] => '“{attribute}” é inválido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [11] => yii\validators\DefaultValueValidator#40
            (
                [value] => 1
                [skipOnEmpty] => false
                [attributes] => [
                    0 => 'updated_by'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=8r1ug5lki1sggohimtgod4qta5; _csrf=4273fed0673c9f862235ff830e0907c86a64ff967c499fd128e8583fe6deb66ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22p9iyJlJjdbdsrv-HnC-L_co4KDZI6QmL%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38346'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=checkout/done&id=40&reference=MTI1NDU3ODc4IzIwMjAwNDE2&eupago_status=ok'
    'REQUEST_URI' => '/index.php?r=checkout/done&id=40&reference=MTI1NDU3ODc4IzIwMjAwNDE2&eupago_status=ok'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1587050276.657
    'REQUEST_TIME' => 1587050276
]
2020-05-01 09:01:38 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:118
2020-05-01 09:01:38 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 09:01:38 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 09:01:38 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 09:01:38 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 09:01:38 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 09:01:38 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 09:01:38 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 09:01:38 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 09:01:38 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = []

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '39712'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588323698.252
    'REQUEST_TIME' => 1588323698
]
2020-05-01 09:02:42 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-01 09:02:42 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 09:02:42 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 09:02:42 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 09:02:42 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 09:02:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 09:02:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 09:02:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 09:02:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 09:02:42 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'a34ce14rqh1hsodpanvjren686'
    '_csrf' => '347b5d249045624eeb77a5810b18c898b2e0fc96ce44f41e767128df0e25aa56a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"Er8R1LhWTTUU-cDDTHQT8wzwRqXvYLOv\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=a34ce14rqh1hsodpanvjren686; _csrf=347b5d249045624eeb77a5810b18c898b2e0fc96ce44f41e767128df0e25aa56a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22Er8R1LhWTTUU-cDDTHQT8wzwRqXvYLOv%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '39738'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588323762.425
    'REQUEST_TIME' => 1588323762
]
2020-05-01 09:02:47 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-01 09:02:47 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:111
2020-05-01 09:02:47 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:111
2020-05-01 09:02:47 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:111
2020-05-01 09:02:47 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:111
2020-05-01 09:02:47 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:111
2020-05-01 09:02:47 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:111
2020-05-01 09:02:47 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:111
2020-05-01 09:02:47 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:111
2020-05-01 09:02:47 [::1][-][-][info][application] $_GET = [
    'r' => 'site/index-en'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'a34ce14rqh1hsodpanvjren686'
    '_csrf' => '347b5d249045624eeb77a5810b18c898b2e0fc96ce44f41e767128df0e25aa56a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"Er8R1LhWTTUU-cDDTHQT8wzwRqXvYLOv\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=a34ce14rqh1hsodpanvjren686; _csrf=347b5d249045624eeb77a5810b18c898b2e0fc96ce44f41e767128df0e25aa56a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22Er8R1LhWTTUU-cDDTHQT8wzwRqXvYLOv%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '39754'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex-en'
    'REQUEST_URI' => '/index.php?r=site%2Findex-en'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588323767.897
    'REQUEST_TIME' => 1588323767
]
2020-05-01 09:03:04 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-01 09:03:04 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:122
2020-05-01 09:03:04 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:122
2020-05-01 09:03:04 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:122
2020-05-01 09:03:04 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:122
2020-05-01 09:03:04 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:122
2020-05-01 09:03:04 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:122
2020-05-01 09:03:04 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:122
2020-05-01 09:03:04 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:122
2020-05-01 09:03:04 [::1][-][-][info][application] $_GET = [
    'r' => 'site/index-pt'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'a34ce14rqh1hsodpanvjren686'
    '_csrf' => '347b5d249045624eeb77a5810b18c898b2e0fc96ce44f41e767128df0e25aa56a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"Er8R1LhWTTUU-cDDTHQT8wzwRqXvYLOv\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Findex-en'
    'HTTP_COOKIE' => 'PHPSESSID=a34ce14rqh1hsodpanvjren686; _csrf=347b5d249045624eeb77a5810b18c898b2e0fc96ce44f41e767128df0e25aa56a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22Er8R1LhWTTUU-cDDTHQT8wzwRqXvYLOv%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '39766'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex-pt'
    'REQUEST_URI' => '/index.php?r=site%2Findex-pt'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588323784.062
    'REQUEST_TIME' => 1588323784
]
2020-05-01 15:39:37 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:118
2020-05-01 15:39:37 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:39:37 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:39:37 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:39:37 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:39:37 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:39:37 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:39:37 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:39:37 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:39:37 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = []

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '40626'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588347577.291
    'REQUEST_TIME' => 1588347577
]
2020-05-01 15:39:42 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-01 15:39:42 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:125
2020-05-01 15:39:42 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `language` ORDER BY `name`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:125
2020-05-01 15:39:42 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step1'
    'pid' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '2arlguq34259v0urk1djupi0a9'
    '_csrf' => 'd2fdbea1d07801cfd7c9ac7b62727c7ca0ca260151f3a23c54defaa6195c136ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"A08J6dI9sOPv2sPls3EYIZzskubmDfk4\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=2arlguq34259v0urk1djupi0a9; _csrf=d2fdbea1d07801cfd7c9ac7b62727c7ca0ca260151f3a23c54defaa6195c136ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22A08J6dI9sOPv2sPls3EYIZzskubmDfk4%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '40638'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep1&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep1&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588347582.152
    'REQUEST_TIME' => 1588347582
]
2020-05-01 15:45:14 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-01 15:45:14 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `license`
    in /home/fmm/work/dpo/portal/models/forms/ProductSignupStep1Form.php:50
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:118
2020-05-01 15:45:14 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/forms/ProductSignupStep1Form.php:50
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:118
2020-05-01 15:45:14 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'license' AND kcu.table_name = 'license'
    in /home/fmm/work/dpo/portal/models/forms/ProductSignupStep1Form.php:50
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:118
2020-05-01 15:45:14 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `license` WHERE `subdomain`='teste24'
    in /home/fmm/work/dpo/portal/models/forms/ProductSignupStep1Form.php:50
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:118
2020-05-01 15:45:14 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step1'
    'pid' => '1'
]

$_POST = [
    '_csrf' => 'wbFnvXU6Uwh0nkrLShAc0SqcH_IxwUk7b4wKY_PElF6AgV_3Q14aMQfRGr14Y0y9Wa9aq3ibM0gE-WgOt6L_ag=='
    'ProductSignupStep1Form' => [
        'client_subdomain' => 'teste24'
        'client_language_code' => 'PT'
        'user_name' => 'Teste 24'
        'user_email' => 'teste@24.dfs'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '2arlguq34259v0urk1djupi0a9'
    '_csrf' => 'd2fdbea1d07801cfd7c9ac7b62727c7ca0ca260151f3a23c54defaa6195c136ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"A08J6dI9sOPv2sPls3EYIZzskubmDfk4\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Teste 24'
        [user_email] => 'teste@24.dfs'
        [client_subdomain] => 'teste24'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '335'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep1&pid=1'
    'HTTP_COOKIE' => 'PHPSESSID=2arlguq34259v0urk1djupi0a9; _csrf=d2fdbea1d07801cfd7c9ac7b62727c7ca0ca260151f3a23c54defaa6195c136ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22A08J6dI9sOPv2sPls3EYIZzskubmDfk4%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '40718'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep1&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep1&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588347914.351
    'REQUEST_TIME' => 1588347914
]
2020-05-01 15:45:14 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-01 15:45:14 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/views/productsignup/step2.php:89
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:196
2020-05-01 15:45:14 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `country` ORDER BY `name`
    in /home/fmm/work/dpo/portal/views/productsignup/step2.php:89
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:196
2020-05-01 15:45:14 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step2'
    'pid' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '2arlguq34259v0urk1djupi0a9'
    '_csrf' => 'd2fdbea1d07801cfd7c9ac7b62727c7ca0ca260151f3a23c54defaa6195c136ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"A08J6dI9sOPv2sPls3EYIZzskubmDfk4\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Teste 24'
        [user_email] => 'teste@24.dfs'
        [client_subdomain] => 'teste24'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep1&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=2arlguq34259v0urk1djupi0a9; _csrf=d2fdbea1d07801cfd7c9ac7b62727c7ca0ca260151f3a23c54defaa6195c136ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22A08J6dI9sOPv2sPls3EYIZzskubmDfk4%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '40718'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep2&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep2&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588347914.37
    'REQUEST_TIME' => 1588347914
]
2020-05-01 15:45:43 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-01 15:45:43 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step2'
    'pid' => '1'
]

$_POST = [
    '_csrf' => 'ekeHYMn2QkBi2GpoU9C-_FpJND3vCqF-69kuJBqaxJs7d78q_5ILeRGXOh5ho-6QKXpxZKZQ2w2ArExJXvyvrw=='
    'ProductSignupStep2Form' => [
        'client_name' => 'Teste 24'
        'client_phone' => '11122233'
        'client_country_code' => 'PT'
        'client_vat_number' => '515515515'
        'client_address_line1' => 'Av Test 24'
        'client_address_line2' => ''
        'client_city' => 'Lisboa'
        'client_zip' => '1000'
        'allow_terms_conditions' => '1'
        'allow_referral' => '0'
        'allow_marketing' => '0'
    ]
    'template-contactform-botcheck' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '2arlguq34259v0urk1djupi0a9'
    '_csrf' => 'd2fdbea1d07801cfd7c9ac7b62727c7ca0ca260151f3a23c54defaa6195c136ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"A08J6dI9sOPv2sPls3EYIZzskubmDfk4\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Teste 24'
        [user_email] => 'teste@24.dfs'
        [client_subdomain] => 'teste24'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Teste 24'
        [client_phone] => '11122233'
        [client_vat_exempt] => false
        [client_vat_number] => '515515515'
        [client_address_line1] => 'Av Test 24'
        [client_address_line2] => ''
        [client_city] => 'Lisboa'
        [client_zip] => '1000'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '733'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep2&pid=1'
    'HTTP_COOKIE' => 'PHPSESSID=2arlguq34259v0urk1djupi0a9; _csrf=d2fdbea1d07801cfd7c9ac7b62727c7ca0ca260151f3a23c54defaa6195c136ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22A08J6dI9sOPv2sPls3EYIZzskubmDfk4%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '40740'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=productsignup%2Fstep2&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep2&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588347943.883
    'REQUEST_TIME' => 1588347943
]
2020-05-01 15:45:43 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-01 15:45:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:213
2020-05-01 15:45:43 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:213
2020-05-01 15:45:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:213
2020-05-01 15:45:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`='1'
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:213
2020-05-01 15:45:51 [::1][-][-][info][yii\mail\BaseMailer::send] Sending email "DPO Agenda" to "administrator@dpoagenda.eu"
    in /home/fmm/work/dpo/portal/components/Notifications.php:156
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:346
2020-05-01 15:45:51 [::1][-][-][info][yii\swiftmailer\Mailer::sendMessage] Sending email "DPO Agenda" to "administrator@dpoagenda.eu"
    in /home/fmm/work/dpo/portal/components/Notifications.php:156
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:346
2020-05-01 15:45:43 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step3'
    'pid' => '1'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '2arlguq34259v0urk1djupi0a9'
    '_csrf' => 'd2fdbea1d07801cfd7c9ac7b62727c7ca0ca260151f3a23c54defaa6195c136ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"A08J6dI9sOPv2sPls3EYIZzskubmDfk4\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Teste 24'
        [user_email] => 'teste@24.dfs'
        [client_subdomain] => 'teste24'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Teste 24'
        [client_phone] => '11122233'
        [client_vat_exempt] => false
        [client_vat_number] => '515515515'
        [client_address_line1] => 'Av Test 24'
        [client_address_line2] => ''
        [client_city] => 'Lisboa'
        [client_zip] => '1000'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_POSSIBLE_SALE_NOTIFICATION' => true
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep2&pid=1'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=2arlguq34259v0urk1djupi0a9; _csrf=d2fdbea1d07801cfd7c9ac7b62727c7ca0ca260151f3a23c54defaa6195c136ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22A08J6dI9sOPv2sPls3EYIZzskubmDfk4%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '40740'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep3&pid=1'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep3&pid=1'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588347943.898
    'REQUEST_TIME' => 1588347943
]
2020-05-01 15:48:39 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-01 15:48:39 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:48:39 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:48:39 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:48:39 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:48:39 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:48:39 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:48:39 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:48:39 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:48:39 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '2arlguq34259v0urk1djupi0a9'
    '_csrf' => 'd2fdbea1d07801cfd7c9ac7b62727c7ca0ca260151f3a23c54defaa6195c136ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"A08J6dI9sOPv2sPls3EYIZzskubmDfk4\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Teste 24'
        [user_email] => 'teste@24.dfs'
        [client_subdomain] => 'teste24'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Teste 24'
        [client_phone] => '11122233'
        [client_vat_exempt] => false
        [client_vat_number] => '515515515'
        [client_address_line1] => 'Av Test 24'
        [client_address_line2] => ''
        [client_city] => 'Lisboa'
        [client_zip] => '1000'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_POSSIBLE_SALE_NOTIFICATION' => true
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep3&pid=1'
    'HTTP_COOKIE' => 'PHPSESSID=2arlguq34259v0urk1djupi0a9; _csrf=d2fdbea1d07801cfd7c9ac7b62727c7ca0ca260151f3a23c54defaa6195c136ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22A08J6dI9sOPv2sPls3EYIZzskubmDfk4%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '40854'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588348119.169
    'REQUEST_TIME' => 1588348119
]
2020-05-01 15:56:23 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-01 15:56:23 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:56:23 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:56:23 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:56:23 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:56:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:56:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:56:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:56:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-01 15:56:23 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '2arlguq34259v0urk1djupi0a9'
    '_csrf' => 'd2fdbea1d07801cfd7c9ac7b62727c7ca0ca260151f3a23c54defaa6195c136ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"A08J6dI9sOPv2sPls3EYIZzskubmDfk4\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Teste 24'
        [user_email] => 'teste@24.dfs'
        [client_subdomain] => 'teste24'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Teste 24'
        [client_phone] => '11122233'
        [client_vat_exempt] => false
        [client_vat_number] => '515515515'
        [client_address_line1] => 'Av Test 24'
        [client_address_line2] => ''
        [client_city] => 'Lisboa'
        [client_zip] => '1000'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_POSSIBLE_SALE_NOTIFICATION' => true
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=2arlguq34259v0urk1djupi0a9; _csrf=d2fdbea1d07801cfd7c9ac7b62727c7ca0ca260151f3a23c54defaa6195c136ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22A08J6dI9sOPv2sPls3EYIZzskubmDfk4%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '41086'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588348583.245
    'REQUEST_TIME' => 1588348583
]
2020-05-01 15:56:32 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-01 15:56:32 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:111
2020-05-01 15:56:32 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:111
2020-05-01 15:56:32 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:111
2020-05-01 15:56:32 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:111
2020-05-01 15:56:32 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:111
2020-05-01 15:56:32 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:111
2020-05-01 15:56:32 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:111
2020-05-01 15:56:32 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:111
2020-05-01 15:56:32 [::1][-][-][info][application] $_GET = [
    'r' => 'site/index-en'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '2arlguq34259v0urk1djupi0a9'
    '_csrf' => 'd2fdbea1d07801cfd7c9ac7b62727c7ca0ca260151f3a23c54defaa6195c136ca:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"A08J6dI9sOPv2sPls3EYIZzskubmDfk4\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
    'SIGNUP_SESSION_STEP1' => app\models\forms\ProductSignupStep1Form#1
    (
        [user_name] => 'Teste 24'
        [user_email] => 'teste@24.dfs'
        [client_subdomain] => 'teste24'
        [client_language_code] => 'PT'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#2
        (
            [0] => yii\validators\RequiredValidator#3
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'user_name'
                    1 => 'user_email'
                    2 => 'client_subdomain'
                    3 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\EmailValidator#4
            (
                [pattern] => '/^[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/'
                [fullPattern] => '/^[^@]*<[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9!#$%&\'*+\\/=?^_`{|}~-]+)*@(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?>$/'
                [allowName] => false
                [checkDNS] => false
                [enableIDN] => false
                [attributes] => [
                    0 => 'user_email'
                ]
                [message] => '“{attribute}” não é um endereço de e-mail válido.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#5
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_name'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#6
            (
                [length] => null
                [max] => 30
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#7
            (
                [length] => null
                [max] => 100
                [min] => 4
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => '“{attribute}” deve conter pelo menos {min, number} {min, plural, one{caractere} other{caracteres}}.'
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'user_email'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#8
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_language_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\InlineValidator#9
            (
                [method] => 'validateUnique'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\RegularExpressionValidator#10
            (
                [pattern] => '/^[a-zA-Z][a-z0-9]+$/'
                [not] => false
                [attributes] => [
                    0 => 'client_subdomain'
                ]
                [message] => 'Tem de começar com uma letra e não pode conter simbolos nem caracteres acentuados ou especiais.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_STEP2' => app\models\forms\ProductSignupStep2Form#11
    (
        [client_name] => 'Teste 24'
        [client_phone] => '11122233'
        [client_vat_exempt] => false
        [client_vat_number] => '515515515'
        [client_address_line1] => 'Av Test 24'
        [client_address_line2] => ''
        [client_city] => 'Lisboa'
        [client_zip] => '1000'
        [client_country_code] => 'PT'
        [allow_terms_conditions] => '1'
        [allow_referral] => '0'
        [allow_marketing] => '0'
        [yii\base\Model:_errors] => []
        [yii\base\Model:_validators] => ArrayObject#12
        (
            [0] => yii\validators\RequiredValidator#13
            (
                [skipOnEmpty] => false
                [requiredValue] => null
                [strict] => false
                [message] => '“{attribute}” não pode ficar em branco.'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_phone'
                    2 => 'client_vat_number'
                    3 => 'client_address_line1'
                    4 => 'client_city'
                    5 => 'client_zip'
                    6 => 'client_country_code'
                    7 => 'allow_terms_conditions'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [1] => yii\validators\StringValidator#14
            (
                [length] => null
                [max] => 50
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_name'
                    1 => 'client_city'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [2] => yii\validators\StringValidator#15
            (
                [length] => null
                [max] => 20
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_phone'
                    1 => 'client_vat_number'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [3] => yii\validators\StringValidator#16
            (
                [length] => null
                [max] => 60
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line1'
                    1 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [4] => yii\validators\StringValidator#17
            (
                [length] => null
                [max] => 80
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_zip'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [5] => yii\validators\StringValidator#18
            (
                [length] => null
                [max] => 2
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => '“{attribute}” deve conter no máximo {max, number} {max, plural, one{caractere} other{caracteres}}.'
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_country_code'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [6] => yii\validators\StringValidator#19
            (
                [length] => null
                [max] => null
                [min] => null
                [message] => '“{attribute}” deve ser uma string.'
                [tooShort] => null
                [tooLong] => null
                [notEqual] => null
                [encoding] => 'UTF-8'
                [attributes] => [
                    0 => 'client_address_line2'
                ]
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [7] => yii\validators\BooleanValidator#20
            (
                [trueValue] => '1'
                [falseValue] => '0'
                [strict] => false
                [attributes] => [
                    0 => 'client_vat_exempt'
                    1 => 'allow_terms_conditions'
                    2 => 'allow_referral'
                    3 => 'allow_marketing'
                ]
                [message] => '“{attribute}” deve ser “{true}” ou “{false}”.'
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
            [8] => yii\validators\InlineValidator#21
            (
                [method] => 'validateTermsConditions'
                [params] => null
                [clientValidate] => null
                [attributes] => [
                    0 => 'allow_terms_conditions'
                ]
                [message] => null
                [on] => []
                [except] => []
                [skipOnError] => true
                [skipOnEmpty] => true
                [enableClientValidation] => true
                [isEmpty] => null
                [when] => null
                [whenClient] => null
                [yii\base\Component:_events] => []
                [yii\base\Component:_eventWildcards] => []
                [yii\base\Component:_behaviors] => null
            )
        )
        [yii\base\Model:_scenario] => 'default'
        [yii\base\Component:_events] => []
        [yii\base\Component:_eventWildcards] => []
        [yii\base\Component:_behaviors] => []
    )
    'SIGNUP_SESSION_POSSIBLE_SALE_NOTIFICATION' => true
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=2arlguq34259v0urk1djupi0a9; _csrf=d2fdbea1d07801cfd7c9ac7b62727c7ca0ca260151f3a23c54defaa6195c136ca%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22A08J6dI9sOPv2sPls3EYIZzskubmDfk4%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '41098'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex-en'
    'REQUEST_URI' => '/index.php?r=site%2Findex-en'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588348592.541
    'REQUEST_TIME' => 1588348592
]
2020-05-03 17:43:15 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-03 17:43:15 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-03 17:43:15 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-03 17:43:15 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-03 17:43:15 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-03 17:43:15 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-03 17:43:15 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-03 17:43:15 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-03 17:43:15 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:98
2020-05-03 17:43:15 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sr9l45ljum6urr5d5es9vvh2lo'
    '_csrf' => 'dd22f890356364745fa2d369dbedac820928603ce8f68a6e98de008e102b0e16a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"6TtA-QQAVz8IVwEekFrUTOUWLKXRUTT0\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=sr9l45ljum6urr5d5es9vvh2lo; _csrf=dd22f890356364745fa2d369dbedac820928603ce8f68a6e98de008e102b0e16a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%226TtA-QQAVz8IVwEekFrUTOUWLKXRUTT0%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '34830'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588527795.192
    'REQUEST_TIME' => 1588527795
]
2020-05-03 17:43:20 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-03 17:43:20 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][error][yii\base\ErrorException:8] yii\base\ErrorException: Undefined variable: pricingPacks in /home/fmm/work/dpo/portal/views/site/index.php:135
Stack trace:
#0 /home/fmm/work/dpo/portal/views/site/index.php(135): yii\web\ErrorHandler->handleError()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(348): app\view\MainView->unknown()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(257): app\view\MainView->renderPhpFile()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(156): app\view\MainView->renderFile()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(386): app\view\MainView->render()
#5 /home/fmm/work/dpo/portal/controllers/SiteController.php(230): app\controllers\SiteController->render()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): app\controllers\SiteController->actionRequestpassword()
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): ::call_user_func_array:{/home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php:57}()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#9 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): app\controllers\SiteController->runAction()
#10 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\web\Application->runAction()
#11 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#12 /home/fmm/work/dpo/portal/web/index.php(12): yii\web\Application->run()
#13 {main}
2020-05-03 17:43:19 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][application] $_GET = [
    'r' => 'site/requestpassword'
    'email' => ''
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sr9l45ljum6urr5d5es9vvh2lo'
    '_csrf' => '05a7a67776dacc744723348acbeb07f1edb5a4954e0059b41f2eee45dcd5946fa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"2ZJtGRKQRai6uQygxFSUnstf3mq1rQdb\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=sr9l45ljum6urr5d5es9vvh2lo; _csrf=05a7a67776dacc744723348acbeb07f1edb5a4954e0059b41f2eee45dcd5946fa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%222ZJtGRKQRai6uQygxFSUnstf3mq1rQdb%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '34844'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Frequestpassword&email='
    'REQUEST_URI' => '/index.php?r=site%2Frequestpassword&email='
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588527799.997
    'REQUEST_TIME' => 1588527799
]
2020-05-03 17:43:23 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-03 17:43:23 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][error][yii\base\ErrorException:8] yii\base\ErrorException: Undefined variable: pricingPacks in /home/fmm/work/dpo/portal/views/site/index.php:135
Stack trace:
#0 /home/fmm/work/dpo/portal/views/site/index.php(135): yii\web\ErrorHandler->handleError()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(348): app\view\MainView->unknown()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(257): app\view\MainView->renderPhpFile()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(156): app\view\MainView->renderFile()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(386): app\view\MainView->render()
#5 /home/fmm/work/dpo/portal/controllers/SiteController.php(230): app\controllers\SiteController->render()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): app\controllers\SiteController->actionRequestpassword()
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): ::call_user_func_array:{/home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php:57}()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#9 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): app\controllers\SiteController->runAction()
#10 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\web\Application->runAction()
#11 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#12 /home/fmm/work/dpo/portal/web/index.php(12): yii\web\Application->run()
#13 {main}
2020-05-03 17:43:23 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][application] $_GET = [
    'r' => 'site/requestpassword'
    'email' => ''
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sr9l45ljum6urr5d5es9vvh2lo'
    '_csrf' => '05a7a67776dacc744723348acbeb07f1edb5a4954e0059b41f2eee45dcd5946fa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"2ZJtGRKQRai6uQygxFSUnstf3mq1rQdb\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=sr9l45ljum6urr5d5es9vvh2lo; _csrf=05a7a67776dacc744723348acbeb07f1edb5a4954e0059b41f2eee45dcd5946fa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%222ZJtGRKQRai6uQygxFSUnstf3mq1rQdb%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '34854'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Frequestpassword&email='
    'REQUEST_URI' => '/index.php?r=site%2Frequestpassword&email='
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588527803.419
    'REQUEST_TIME' => 1588527803
]
2020-05-03 17:44:02 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-03 17:44:02 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:02 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:02 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:02 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:02 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:02 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:02 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:02 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:02 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][error][yii\base\ErrorException:8] yii\base\ErrorException: Undefined variable: current_url in /home/fmm/work/dpo/portal/views/site/index.php:162
Stack trace:
#0 /home/fmm/work/dpo/portal/views/site/index.php(162): yii\web\ErrorHandler->handleError()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(348): app\view\MainView->unknown()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(257): app\view\MainView->renderPhpFile()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(156): app\view\MainView->renderFile()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(386): app\view\MainView->render()
#5 /home/fmm/work/dpo/portal/controllers/SiteController.php(231): app\controllers\SiteController->render()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): app\controllers\SiteController->actionRequestpassword()
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): ::call_user_func_array:{/home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php:57}()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#9 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): app\controllers\SiteController->runAction()
#10 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\web\Application->runAction()
#11 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#12 /home/fmm/work/dpo/portal/web/index.php(12): yii\web\Application->run()
#13 {main}
2020-05-03 17:44:02 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][application] $_GET = [
    'r' => 'site/requestpassword'
    'email' => ''
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sr9l45ljum6urr5d5es9vvh2lo'
    '_csrf' => '05a7a67776dacc744723348acbeb07f1edb5a4954e0059b41f2eee45dcd5946fa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"2ZJtGRKQRai6uQygxFSUnstf3mq1rQdb\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=sr9l45ljum6urr5d5es9vvh2lo; _csrf=05a7a67776dacc744723348acbeb07f1edb5a4954e0059b41f2eee45dcd5946fa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%222ZJtGRKQRai6uQygxFSUnstf3mq1rQdb%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '34860'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Frequestpassword&email='
    'REQUEST_URI' => '/index.php?r=site%2Frequestpassword&email='
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588527842.539
    'REQUEST_TIME' => 1588527842
]
2020-05-03 17:44:08 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-03 17:44:08 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:08 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:08 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:08 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:08 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:08 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:08 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:08 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:08 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][error][yii\base\ErrorException:8] yii\base\ErrorException: Undefined variable: current_url in /home/fmm/work/dpo/portal/views/site/index.php:162
Stack trace:
#0 /home/fmm/work/dpo/portal/views/site/index.php(162): yii\web\ErrorHandler->handleError()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(348): app\view\MainView->unknown()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(257): app\view\MainView->renderPhpFile()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(156): app\view\MainView->renderFile()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(386): app\view\MainView->render()
#5 /home/fmm/work/dpo/portal/controllers/SiteController.php(231): app\controllers\SiteController->render()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): app\controllers\SiteController->actionRequestpassword()
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): ::call_user_func_array:{/home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php:57}()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#9 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): app\controllers\SiteController->runAction()
#10 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\web\Application->runAction()
#11 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#12 /home/fmm/work/dpo/portal/web/index.php(12): yii\web\Application->run()
#13 {main}
2020-05-03 17:44:08 [::1][-][sr9l45ljum6urr5d5es9vvh2lo][info][application] $_GET = [
    'r' => 'site/requestpassword'
    'email' => ''
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sr9l45ljum6urr5d5es9vvh2lo'
    '_csrf' => '05a7a67776dacc744723348acbeb07f1edb5a4954e0059b41f2eee45dcd5946fa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"2ZJtGRKQRai6uQygxFSUnstf3mq1rQdb\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=sr9l45ljum6urr5d5es9vvh2lo; _csrf=05a7a67776dacc744723348acbeb07f1edb5a4954e0059b41f2eee45dcd5946fa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%222ZJtGRKQRai6uQygxFSUnstf3mq1rQdb%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '34866'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Frequestpassword&email='
    'REQUEST_URI' => '/index.php?r=site%2Frequestpassword&email='
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588527848.182
    'REQUEST_TIME' => 1588527848
]
2020-05-03 17:44:20 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-03 17:44:20 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:20 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:20 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:20 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:44:20 [::1][-][-][info][application] $_GET = [
    'r' => 'site/requestpassword'
    'email' => ''
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sr9l45ljum6urr5d5es9vvh2lo'
    '_csrf' => '05a7a67776dacc744723348acbeb07f1edb5a4954e0059b41f2eee45dcd5946fa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"2ZJtGRKQRai6uQygxFSUnstf3mq1rQdb\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=sr9l45ljum6urr5d5es9vvh2lo; _csrf=05a7a67776dacc744723348acbeb07f1edb5a4954e0059b41f2eee45dcd5946fa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%222ZJtGRKQRai6uQygxFSUnstf3mq1rQdb%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '34872'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Frequestpassword&email='
    'REQUEST_URI' => '/index.php?r=site%2Frequestpassword&email='
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588527860.852
    'REQUEST_TIME' => 1588527860
]
2020-05-03 17:51:09 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-03 17:51:09 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:51:09 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:51:09 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:51:09 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:51:09 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:51:09 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:51:09 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:51:09 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:51:09 [::1][-][-][info][application] $_GET = [
    'r' => 'site/requestpassword'
    'email' => ''
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sr9l45ljum6urr5d5es9vvh2lo'
    '_csrf' => '23470430cc4713c094948faf96502ea0c885ce733646d16fa70ce6aed7ce5f0da:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"XhEGhhUJpAv24Kf1AVtZUGX_rSi5EJ6-\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Frequestpassword&email='
    'HTTP_COOKIE' => 'PHPSESSID=sr9l45ljum6urr5d5es9vvh2lo; _csrf=23470430cc4713c094948faf96502ea0c885ce733646d16fa70ce6aed7ce5f0da%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22XhEGhhUJpAv24Kf1AVtZUGX_rSi5EJ6-%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35244'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Frequestpassword&email='
    'REQUEST_URI' => '/index.php?r=site%2Frequestpassword&email='
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588528269.388
    'REQUEST_TIME' => 1588528269
]
2020-05-03 17:51:16 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-05-03 17:51:16 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `user`
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/PasswordRequestForm.php:78
    in /home/fmm/work/dpo/portal/models/forms/PasswordRequestForm.php:60
2020-05-03 17:51:16 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/PasswordRequestForm.php:78
    in /home/fmm/work/dpo/portal/models/forms/PasswordRequestForm.php:60
2020-05-03 17:51:16 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'user' AND kcu.table_name = 'user'
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/PasswordRequestForm.php:78
    in /home/fmm/work/dpo/portal/models/forms/PasswordRequestForm.php:60
2020-05-03 17:51:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `user` WHERE `email`='hexonio@asdfwad.pt'
    in /home/fmm/work/dpo/portal/models/User.php:254
    in /home/fmm/work/dpo/portal/models/forms/PasswordRequestForm.php:78
    in /home/fmm/work/dpo/portal/models/forms/PasswordRequestForm.php:60
2020-05-03 17:51:16 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:51:16 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:51:16 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:51:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:51:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:51:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:51:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:230
2020-05-03 17:51:16 [::1][-][-][info][application] $_GET = [
    'r' => 'site/requestpassword'
    'email' => ''
]

$_POST = [
    '_csrf' => 'APVJUOxtBRfWQZsuiu-glV4se2mehl5ZSA7aIQG6SAwwzAZppiRBRIYnwRnNmpH8Fl4PGduwawl4do9MUoskPg=='
    'PasswordRequestForm' => [
        'email' => 'hexonio@asdfwad.pt'
    ]
    'recover-button' => ''
]

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'sr9l45ljum6urr5d5es9vvh2lo'
    '_csrf' => 'ce039eaca5d0ddf4c78dafdfe1db41d6f8857bde82b278e90854ad657bbc766aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"09O9JIDSPfZ7Gu1iHrtpE65P0xUmS1l2\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'CONTENT_TYPE' => 'application/x-www-form-urlencoded'
    'CONTENT_LENGTH' => '166'
    'HTTP_ORIGIN' => 'http://localhost:8085'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Frequestpassword&email='
    'HTTP_COOKIE' => 'PHPSESSID=sr9l45ljum6urr5d5es9vvh2lo; _csrf=ce039eaca5d0ddf4c78dafdfe1db41d6f8857bde82b278e90854ad657bbc766aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%2209O9JIDSPfZ7Gu1iHrtpE65P0xUmS1l2%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35256'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'POST'
    'QUERY_STRING' => 'r=site%2Frequestpassword&email='
    'REQUEST_URI' => '/index.php?r=site%2Frequestpassword&email='
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1588528276.305
    'REQUEST_TIME' => 1588528276
]
2020-05-29 11:00:49 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:118
2020-05-29 11:00:49 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-05-29 11:00:49 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-05-29 11:00:49 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-05-29 11:00:49 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-05-29 11:00:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-05-29 11:00:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-05-29 11:00:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-05-29 11:00:49 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-05-29 11:00:49 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = []

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '47214'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1590750049.394
    'REQUEST_TIME' => 1590750049
]
2020-05-29 11:01:26 [192.168.1.66][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:118
2020-05-29 11:01:26 [192.168.1.66][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-05-29 11:01:26 [192.168.1.66][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-05-29 11:01:26 [192.168.1.66][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-05-29 11:01:26 [192.168.1.66][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-05-29 11:01:26 [192.168.1.66][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-05-29 11:01:26 [192.168.1.66][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-05-29 11:01:26 [192.168.1.66][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-05-29 11:01:26 [192.168.1.66][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-05-29 11:01:26 [192.168.1.66][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = []

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => '192.168.1.95:8085'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (iPhone; CPU OS 13_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/25.1  Mobile/15E148 Safari/605.1.15'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-pt'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_CONNECTION' => 'keep-alive'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at 192.168.1.95 Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => '192.168.1.95'
    'SERVER_ADDR' => '192.168.1.95'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '192.168.1.66'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '54997'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1590750086.27
    'REQUEST_TIME' => 1590750086
]
2020-07-07 16:27:13 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-07 16:27:13 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-07 16:27:14 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-07 16:27:14 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-07 16:27:14 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-07 16:27:14 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-07 16:27:14 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-07 16:27:14 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-07 16:27:14 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-07 16:27:13 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'qvd6t69g19l854lkv3ioihmfu5'
    '_csrf' => 'b7e95176949fdff9b711a68cc1eba92cb54db62a2036dec2b802085fb78ef1c4a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"kOND5ga_-yxVM08MW8Mkv9fQr1fy0oaU\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=qvd6t69g19l854lkv3ioihmfu5; _csrf=b7e95176949fdff9b711a68cc1eba92cb54db62a2036dec2b802085fb78ef1c4a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22kOND5ga_-yxVM08MW8Mkv9fQr1fy0oaU%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35422'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594139233.929
    'REQUEST_TIME' => 1594139233
]
2020-07-07 16:27:19 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-07 16:27:19 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:27:19 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:27:19 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:27:19 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:27:19 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:27:19 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:27:19 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:27:19 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:27:19 [::1][-][qvd6t69g19l854lkv3ioihmfu5][error][ParseError] ParseError: syntax error, unexpected ''PRICING_POPULAR'' (T_CONSTANT_ENCAPSED_STRING), expecting ']' in /home/fmm/work/dpo/portal/messages/es/portal.php:73
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/i18n/PhpMessageSource.php(72): yii\i18n\PhpMessageSource->loadMessagesFromFile()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/i18n/MessageSource.php(107): yii\i18n\PhpMessageSource->loadMessages()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/i18n/MessageSource.php(87): yii\i18n\MessageSource->translateMessage()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/i18n/I18N.php(90): yii\i18n\MessageSource->translate()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/BaseYii.php(538): yii\i18n\I18N->translate()
#5 /home/fmm/work/dpo/portal/views/site/index.php(60): yii\BaseYii::t()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(348): require('/home/fmm/work/...')
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile()
#9 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(386): yii\base\View->render()
#10 /home/fmm/work/dpo/portal/controllers/SiteController.php(117): yii\base\Controller->render()
#11 /home/fmm/work/dpo/portal/controllers/SiteController.php(151): app\controllers\SiteController->actionIndex()
#12 [internal function]: app\controllers\SiteController->actionIndexEs()
#13 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#14 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#15 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#16 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#17 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#18 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#19 {main}
2020-07-07 16:27:19 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][application] $_GET = [
    'r' => 'site/index-es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'qvd6t69g19l854lkv3ioihmfu5'
    '_csrf' => '4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=qvd6t69g19l854lkv3ioihmfu5; _csrf=4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35460'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex-es'
    'REQUEST_URI' => '/index.php?r=site%2Findex-es'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594139239.907
    'REQUEST_TIME' => 1594139239
]
2020-07-07 16:27:48 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-07 16:27:48 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:27:48 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:27:48 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:27:48 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:27:48 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:27:48 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:27:48 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:27:48 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:27:48 [::1][-][-][info][application] $_GET = [
    'r' => 'site/index-es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'qvd6t69g19l854lkv3ioihmfu5'
    '_csrf' => '4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=qvd6t69g19l854lkv3ioihmfu5; _csrf=4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35478'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex-es'
    'REQUEST_URI' => '/index.php?r=site%2Findex-es'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594139268.645
    'REQUEST_TIME' => 1594139268
]
2020-07-07 16:28:13 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-07 16:28:13 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:13 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:13 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:13 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:13 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:13 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:13 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:13 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:13 [::1][-][qvd6t69g19l854lkv3ioihmfu5][error][ParseError] ParseError: syntax error, unexpected '",' (T_CONSTANT_ENCAPSED_STRING), expecting ']' in /home/fmm/work/dpo/portal/messages/fr/portal.php:117
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/i18n/PhpMessageSource.php(72): yii\i18n\PhpMessageSource->loadMessagesFromFile()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/i18n/MessageSource.php(107): yii\i18n\PhpMessageSource->loadMessages()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/i18n/MessageSource.php(87): yii\i18n\MessageSource->translateMessage()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/i18n/I18N.php(90): yii\i18n\MessageSource->translate()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/BaseYii.php(538): yii\i18n\I18N->translate()
#5 /home/fmm/work/dpo/portal/views/site/index.php(60): yii\BaseYii::t()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(348): require('/home/fmm/work/...')
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile()
#9 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(386): yii\base\View->render()
#10 /home/fmm/work/dpo/portal/controllers/SiteController.php(117): yii\base\Controller->render()
#11 /home/fmm/work/dpo/portal/controllers/SiteController.php(162): app\controllers\SiteController->actionIndex()
#12 [internal function]: app\controllers\SiteController->actionIndexFr()
#13 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#14 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#15 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#16 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#17 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#18 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#19 {main}
2020-07-07 16:28:13 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][application] $_GET = [
    'r' => 'site/index-fr'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'qvd6t69g19l854lkv3ioihmfu5'
    '_csrf' => '4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Findex-es'
    'HTTP_COOKIE' => 'PHPSESSID=qvd6t69g19l854lkv3ioihmfu5; _csrf=4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35514'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex-fr'
    'REQUEST_URI' => '/index.php?r=site%2Findex-fr'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594139293.11
    'REQUEST_TIME' => 1594139293
]
2020-07-07 16:28:44 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-07 16:28:44 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:44 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:44 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:44 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:44 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:44 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:44 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:44 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:44 [::1][-][qvd6t69g19l854lkv3ioihmfu5][error][ParseError] ParseError: syntax error, unexpected '"REGISTER_SUCCESS_LINE"' (T_CONSTANT_ENCAPSED_STRING), expecting ']' in /home/fmm/work/dpo/portal/messages/fr/portal.php:137
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/i18n/PhpMessageSource.php(72): yii\i18n\PhpMessageSource->loadMessagesFromFile()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/i18n/MessageSource.php(107): yii\i18n\PhpMessageSource->loadMessages()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/i18n/MessageSource.php(87): yii\i18n\MessageSource->translateMessage()
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/i18n/I18N.php(90): yii\i18n\MessageSource->translate()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/BaseYii.php(538): yii\i18n\I18N->translate()
#5 /home/fmm/work/dpo/portal/views/site/index.php(60): yii\BaseYii::t()
#6 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(348): require('/home/fmm/work/...')
#7 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile()
#9 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(386): yii\base\View->render()
#10 /home/fmm/work/dpo/portal/controllers/SiteController.php(117): yii\base\Controller->render()
#11 /home/fmm/work/dpo/portal/controllers/SiteController.php(162): app\controllers\SiteController->actionIndex()
#12 [internal function]: app\controllers\SiteController->actionIndexFr()
#13 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#14 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#15 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#16 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#17 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#18 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#19 {main}
2020-07-07 16:28:44 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][application] $_GET = [
    'r' => 'site/index-fr'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'qvd6t69g19l854lkv3ioihmfu5'
    '_csrf' => '4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Findex-es'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=qvd6t69g19l854lkv3ioihmfu5; _csrf=4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35530'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex-fr'
    'REQUEST_URI' => '/index.php?r=site%2Findex-fr'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594139324.141
    'REQUEST_TIME' => 1594139324
]
2020-07-07 16:28:58 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-07 16:28:58 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:58 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:58 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:58 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:58 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:58 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:58 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:58 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:28:58 [::1][-][-][info][application] $_GET = [
    'r' => 'site/index-fr'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'qvd6t69g19l854lkv3ioihmfu5'
    '_csrf' => '4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Findex-es'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=qvd6t69g19l854lkv3ioihmfu5; _csrf=4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35550'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex-fr'
    'REQUEST_URI' => '/index.php?r=site%2Findex-fr'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594139338.001
    'REQUEST_TIME' => 1594139338
]
2020-07-07 16:29:17 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-07 16:29:17 [::1][-][qvd6t69g19l854lkv3ioihmfu5][error][yii\base\ViewNotFoundException] yii\base\ViewNotFoundException: The view file does not exist: /home/fmm/work/dpo/portal/views/site/policy/terms-conditions-fr.php in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php:233
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile()
#1 /home/fmm/work/dpo/portal/views/site/policy/terms-conditions.php(29): yii\base\View->render()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(348): require('/home/fmm/work/...')
#3 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(257): yii\base\View->renderPhpFile()
#4 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/View.php(156): yii\base\View->renderFile()
#5 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(386): yii\base\View->render()
#6 /home/fmm/work/dpo/portal/controllers/SiteController.php(206): yii\base\Controller->render()
#7 [internal function]: app\controllers\SiteController->actionTermsconditions()
#8 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array()
#9 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams()
#10 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#11 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#12 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#13 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#14 {main}
2020-07-07 16:29:17 [::1][-][qvd6t69g19l854lkv3ioihmfu5][info][application] $_GET = [
    'r' => 'site/termsconditions'
    'language' => 'fr'
    'backUrl' => '/index.php?r=site%2Findex-fr'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'qvd6t69g19l854lkv3ioihmfu5'
    '_csrf' => '4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Findex-fr'
    'HTTP_COOKIE' => 'PHPSESSID=qvd6t69g19l854lkv3ioihmfu5; _csrf=4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35586'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Ftermsconditions&language=fr&backUrl=%2Findex.php%3Fr%3Dsite%252Findex-fr'
    'REQUEST_URI' => '/index.php?r=site%2Ftermsconditions&language=fr&backUrl=%2Findex.php%3Fr%3Dsite%252Findex-fr'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594139357.289
    'REQUEST_TIME' => 1594139357
]
2020-07-07 16:30:01 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-07 16:30:01 [::1][-][-][info][application] $_GET = [
    'r' => 'site/termsconditions'
    'language' => 'fr'
    'backUrl' => '/index.php?r=site%2Findex-fr'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'qvd6t69g19l854lkv3ioihmfu5'
    '_csrf' => '4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Findex-fr'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=qvd6t69g19l854lkv3ioihmfu5; _csrf=4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35600'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Ftermsconditions&language=fr&backUrl=%2Findex.php%3Fr%3Dsite%252Findex-fr'
    'REQUEST_URI' => '/index.php?r=site%2Ftermsconditions&language=fr&backUrl=%2Findex.php%3Fr%3Dsite%252Findex-fr'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594139401.315
    'REQUEST_TIME' => 1594139401
]
2020-07-07 16:30:09 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-07 16:30:09 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:30:09 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:30:09 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:30:09 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:30:09 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:30:09 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:30:09 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:30:09 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:162
2020-07-07 16:30:09 [::1][-][-][info][application] $_GET = [
    'r' => 'site/index-fr'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'qvd6t69g19l854lkv3ioihmfu5'
    '_csrf' => '4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Ftermsconditions&language=fr&backUrl=%2Findex.php%3Fr%3Dsite%252Findex-fr'
    'HTTP_COOKIE' => 'PHPSESSID=qvd6t69g19l854lkv3ioihmfu5; _csrf=4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35634'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex-fr'
    'REQUEST_URI' => '/index.php?r=site%2Findex-fr'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594139409.099
    'REQUEST_TIME' => 1594139409
]
2020-07-07 16:30:18 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-07 16:30:18 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:18 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:18 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:18 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:18 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:18 [::1][-][-][info][application] $_GET = [
    'r' => 'site/index-es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'qvd6t69g19l854lkv3ioihmfu5'
    '_csrf' => '4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Findex-fr'
    'HTTP_COOKIE' => 'PHPSESSID=qvd6t69g19l854lkv3ioihmfu5; _csrf=4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35668'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex-es'
    'REQUEST_URI' => '/index.php?r=site%2Findex-es'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594139418.265
    'REQUEST_TIME' => 1594139418
]
2020-07-07 16:30:22 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-07 16:30:22 [::1][-][-][info][application] $_GET = [
    'r' => 'site/cookiespolicy'
    'language' => 'es'
    'backUrl' => '/index.php?r=site%2Findex-es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'qvd6t69g19l854lkv3ioihmfu5'
    '_csrf' => '4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Findex-es'
    'HTTP_COOKIE' => 'PHPSESSID=qvd6t69g19l854lkv3ioihmfu5; _csrf=4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35698'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fcookiespolicy&language=es&backUrl=%2Findex.php%3Fr%3Dsite%252Findex-es'
    'REQUEST_URI' => '/index.php?r=site%2Fcookiespolicy&language=es&backUrl=%2Findex.php%3Fr%3Dsite%252Findex-es'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594139422.465
    'REQUEST_TIME' => 1594139422
]
2020-07-07 16:30:27 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-07 16:30:27 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:27 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:27 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:27 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:27 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:27 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:27 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:27 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:27 [::1][-][-][info][application] $_GET = [
    'r' => 'site/index-es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'qvd6t69g19l854lkv3ioihmfu5'
    '_csrf' => '4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Findex-fr'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=qvd6t69g19l854lkv3ioihmfu5; _csrf=4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35726'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex-es'
    'REQUEST_URI' => '/index.php?r=site%2Findex-es'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594139427.733
    'REQUEST_TIME' => 1594139427
]
2020-07-07 16:30:30 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-07 16:30:30 [::1][-][-][info][application] $_GET = [
    'r' => 'site/termsconditions'
    'language' => 'es'
    'backUrl' => '/index.php?r=site%2Findex-es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'qvd6t69g19l854lkv3ioihmfu5'
    '_csrf' => '4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Findex-es'
    'HTTP_COOKIE' => 'PHPSESSID=qvd6t69g19l854lkv3ioihmfu5; _csrf=4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35752'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Ftermsconditions&language=es&backUrl=%2Findex.php%3Fr%3Dsite%252Findex-es'
    'REQUEST_URI' => '/index.php?r=site%2Ftermsconditions&language=es&backUrl=%2Findex.php%3Fr%3Dsite%252Findex-es'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594139430.67
    'REQUEST_TIME' => 1594139430
]
2020-07-07 16:30:35 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-07 16:30:35 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:35 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:35 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:35 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:35 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:35 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:35 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:35 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:151
2020-07-07 16:30:35 [::1][-][-][info][application] $_GET = [
    'r' => 'site/index-es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => 'qvd6t69g19l854lkv3ioihmfu5'
    '_csrf' => '4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Ftermsconditions&language=es&backUrl=%2Findex.php%3Fr%3Dsite%252Findex-es'
    'HTTP_COOKIE' => 'PHPSESSID=qvd6t69g19l854lkv3ioihmfu5; _csrf=4809925dde2b719b3b30c25e9b3bd8b96384babd0fd740b2d1d6cf78bdc2901aa%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22r8vH7q9LNo_EbzE6ed18Cd4_LvXcb30V%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '35752'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex-es'
    'REQUEST_URI' => '/index.php?r=site%2Findex-es'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594139435.192
    'REQUEST_TIME' => 1594139435
]
2020-07-08 10:55:16 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:118
2020-07-08 10:55:16 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-08 10:55:16 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-08 10:55:16 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-08 10:55:16 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-08 10:55:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-08 10:55:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-08 10:55:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-08 10:55:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-08 10:55:16 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = []

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '38270'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594205716.445
    'REQUEST_TIME' => 1594205716
]
2020-07-14 09:05:00 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:118
2020-07-14 09:05:00 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:05:00 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:05:00 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:05:00 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:05:00 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:05:00 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:05:00 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:05:00 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:05:00 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = []

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '47390'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594717500.639
    'REQUEST_TIME' => 1594717500
]
2020-07-14 09:05:08 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 09:05:08 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 09:05:08 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 09:05:08 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 09:05:08 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 09:05:08 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 09:05:08 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 09:05:08 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 09:05:08 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 09:05:08 [::1][-][-][info][application] $_GET = [
    'r' => 'site/index-de'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'd3bada16d07ed6a38a8360cdd86f1ca37f0c58a3da5e7fc6bd16a96bff1aa10ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"lLj1V4aZDP-DN0nQ0Ii1bX53q1gL8B6n\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=d3bada16d07ed6a38a8360cdd86f1ca37f0c58a3da5e7fc6bd16a96bff1aa10ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22lLj1V4aZDP-DN0nQ0Ii1bX53q1gL8B6n%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '47442'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex-de'
    'REQUEST_URI' => '/index.php?r=site%2Findex-de'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594717508.237
    'REQUEST_TIME' => 1594717508
]
2020-07-14 09:05:22 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 09:05:22 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:125
2020-07-14 09:05:22 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `language` ORDER BY `name`
    in /home/fmm/work/dpo/portal/controllers/ProductsignupController.php:125
2020-07-14 09:05:22 [::1][-][-][info][application] $_GET = [
    'r' => 'productsignup/step1'
    'pid' => '2'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'd3bada16d07ed6a38a8360cdd86f1ca37f0c58a3da5e7fc6bd16a96bff1aa10ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"lLj1V4aZDP-DN0nQ0Ii1bX53q1gL8B6n\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Findex-de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=d3bada16d07ed6a38a8360cdd86f1ca37f0c58a3da5e7fc6bd16a96bff1aa10ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22lLj1V4aZDP-DN0nQ0Ii1bX53q1gL8B6n%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '47476'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=productsignup%2Fstep1&pid=2'
    'REQUEST_URI' => '/index.php?r=productsignup%2Fstep1&pid=2'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594717522.067
    'REQUEST_TIME' => 1594717522
]
2020-07-14 09:20:01 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 09:20:01 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:20:01 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:20:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:20:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:20:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:20:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:20:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:20:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:20:01 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'd3bada16d07ed6a38a8360cdd86f1ca37f0c58a3da5e7fc6bd16a96bff1aa10ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"lLj1V4aZDP-DN0nQ0Ii1bX53q1gL8B6n\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=productsignup%2Fstep1&pid=2'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=d3bada16d07ed6a38a8360cdd86f1ca37f0c58a3da5e7fc6bd16a96bff1aa10ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22lLj1V4aZDP-DN0nQ0Ii1bX53q1gL8B6n%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '47652'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594718401.222
    'REQUEST_TIME' => 1594718401
]
2020-07-14 09:20:06 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 09:20:06 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:184
2020-07-14 09:20:06 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:184
2020-07-14 09:20:06 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:184
2020-07-14 09:20:06 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:184
2020-07-14 09:20:06 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:184
2020-07-14 09:20:06 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:184
2020-07-14 09:20:06 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:184
2020-07-14 09:20:06 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:184
2020-07-14 09:20:06 [::1][-][-][info][application] $_GET = [
    'r' => 'site/index-it'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'd3bada16d07ed6a38a8360cdd86f1ca37f0c58a3da5e7fc6bd16a96bff1aa10ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"lLj1V4aZDP-DN0nQ0Ii1bX53q1gL8B6n\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=d3bada16d07ed6a38a8360cdd86f1ca37f0c58a3da5e7fc6bd16a96bff1aa10ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22lLj1V4aZDP-DN0nQ0Ii1bX53q1gL8B6n%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '47686'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex-it'
    'REQUEST_URI' => '/index.php?r=site%2Findex-it'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594718406.674
    'REQUEST_TIME' => 1594718406
]
2020-07-14 09:20:17 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 09:20:17 [::1][-][-][info][application] $_GET = [
    'r' => 'site/termsconditions'
    'language' => 'it'
    'backUrl' => '/index.php?r=site%2Findex-it'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'd3bada16d07ed6a38a8360cdd86f1ca37f0c58a3da5e7fc6bd16a96bff1aa10ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"lLj1V4aZDP-DN0nQ0Ii1bX53q1gL8B6n\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Findex-it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=d3bada16d07ed6a38a8360cdd86f1ca37f0c58a3da5e7fc6bd16a96bff1aa10ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22lLj1V4aZDP-DN0nQ0Ii1bX53q1gL8B6n%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '47718'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Ftermsconditions&language=it&backUrl=%2Findex.php%3Fr%3Dsite%252Findex-it'
    'REQUEST_URI' => '/index.php?r=site%2Ftermsconditions&language=it&backUrl=%2Findex.php%3Fr%3Dsite%252Findex-it'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594718417.552
    'REQUEST_TIME' => 1594718417
]
2020-07-14 09:20:20 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 09:20:20 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:184
2020-07-14 09:20:20 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:184
2020-07-14 09:20:20 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:184
2020-07-14 09:20:20 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:184
2020-07-14 09:20:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:184
2020-07-14 09:20:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:184
2020-07-14 09:20:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:184
2020-07-14 09:20:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:184
2020-07-14 09:20:20 [::1][-][-][info][application] $_GET = [
    'r' => 'site/index-it'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'd3bada16d07ed6a38a8360cdd86f1ca37f0c58a3da5e7fc6bd16a96bff1aa10ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"lLj1V4aZDP-DN0nQ0Ii1bX53q1gL8B6n\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=d3bada16d07ed6a38a8360cdd86f1ca37f0c58a3da5e7fc6bd16a96bff1aa10ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22lLj1V4aZDP-DN0nQ0Ii1bX53q1gL8B6n%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '47718'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Findex-it'
    'REQUEST_URI' => '/index.php?r=site%2Findex-it'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594718420.552
    'REQUEST_TIME' => 1594718420
]
2020-07-14 09:23:55 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 09:23:55 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:23:55 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:23:55 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:23:55 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:23:55 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:23:55 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:23:55 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:23:55 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 09:23:55 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'd3bada16d07ed6a38a8360cdd86f1ca37f0c58a3da5e7fc6bd16a96bff1aa10ea:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"lLj1V4aZDP-DN0nQ0Ii1bX53q1gL8B6n\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=d3bada16d07ed6a38a8360cdd86f1ca37f0c58a3da5e7fc6bd16a96bff1aa10ea%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22lLj1V4aZDP-DN0nQ0Ii1bX53q1gL8B6n%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '47880'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594718635.85
    'REQUEST_TIME' => 1594718635
]
2020-07-14 10:01:54 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:01:54 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:01:54 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:01:54 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:01:54 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:01:54 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:01:54 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:01:54 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:01:54 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:01:54 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'a9c046f921bffe912f8590bf751877b3d228fc38dfb6c4eefc566ac675c05bf2a:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"ENZVr620S2Fnc4vlU6r0SgoVBS0Rz3nS\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=a9c046f921bffe912f8590bf751877b3d228fc38dfb6c4eefc566ac675c05bf2a%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22ENZVr620S2Fnc4vlU6r0SgoVBS0Rz3nS%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '48604'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594720914.001
    'REQUEST_TIME' => 1594720914
]
2020-07-14 10:01:59 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:01:59 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:01:59 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:01:59 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:01:59 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:01:59 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:01:59 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:01:59 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:01:59 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:01:59 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '48640'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594720919.882
    'REQUEST_TIME' => 1594720919
]
2020-07-14 10:03:11 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:03:11 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:03:11 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:03:11 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:03:11 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:03:11 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:03:11 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:03:11 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:03:11 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:03:11 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '48682'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594720991.504
    'REQUEST_TIME' => 1594720991
]
2020-07-14 10:03:33 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:03:33 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:03:33 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:03:33 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:03:33 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:03:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:03:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:03:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:03:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:03:33 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '48734'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721013.144
    'REQUEST_TIME' => 1594721013
]
2020-07-14 10:05:02 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:05:02 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:02 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:02 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:02 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:02 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:02 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:02 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:02 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:02 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '48776'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721102.177
    'REQUEST_TIME' => 1594721102
]
2020-07-14 10:05:17 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:05:17 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:17 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:17 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:17 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:17 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:17 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:17 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:17 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:17 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '48812'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721117.816
    'REQUEST_TIME' => 1594721117
]
2020-07-14 10:05:31 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:05:31 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:31 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:31 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:31 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:31 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:31 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:31 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:31 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:31 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '48850'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721131.343
    'REQUEST_TIME' => 1594721131
]
2020-07-14 10:05:55 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:05:55 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:55 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:55 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:55 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:55 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:55 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:55 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:55 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:05:55 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '48892'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721155.672
    'REQUEST_TIME' => 1594721155
]
2020-07-14 10:06:30 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:06:30 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:06:30 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:06:30 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:06:30 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:06:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:06:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:06:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:06:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:06:30 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '48940'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721190.282
    'REQUEST_TIME' => 1594721190
]
2020-07-14 10:06:43 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:06:43 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:06:43 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:06:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:06:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:06:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:06:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:06:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:06:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:06:43 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '48982'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721203.264
    'REQUEST_TIME' => 1594721203
]
2020-07-14 10:07:05 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:07:05 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:05 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:05 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:05 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:05 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:05 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:05 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:05 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:05 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49024'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721225.318
    'REQUEST_TIME' => 1594721225
]
2020-07-14 10:07:20 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:07:20 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:20 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:20 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:20 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:20 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49060'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721240.442
    'REQUEST_TIME' => 1594721240
]
2020-07-14 10:07:53 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:07:53 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:53 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:53 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:53 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:53 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:07:53 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49114'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721273.037
    'REQUEST_TIME' => 1594721273
]
2020-07-14 10:08:04 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:08:04 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:08:04 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:08:04 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:08:04 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:08:04 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:08:04 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:08:04 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:08:04 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:08:04 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49158'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721284.143
    'REQUEST_TIME' => 1594721284
]
2020-07-14 10:08:16 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:08:16 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:08:16 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:08:16 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:08:16 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:08:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:08:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:08:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:08:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:08:16 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49196'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721296.433
    'REQUEST_TIME' => 1594721296
]
2020-07-14 10:08:48 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:08:48 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:08:48 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:08:48 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:08:48 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:08:48 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:08:48 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:08:48 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:08:48 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:08:48 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49234'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721328.299
    'REQUEST_TIME' => 1594721328
]
2020-07-14 10:10:43 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:10:43 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:10:43 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:10:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:10:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:10:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:10:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:10:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:10:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:10:43 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49298'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721443.421
    'REQUEST_TIME' => 1594721443
]
2020-07-14 10:10:58 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:10:58 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:10:58 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:10:58 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:10:58 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:10:58 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:10:58 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:10:58 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:10:58 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:10:58 [::1][-][-][info][application] $_GET = [
    'r' => 'site/es'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49340'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fes'
    'REQUEST_URI' => '/index.php?r=site%2Fes'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721458.251
    'REQUEST_TIME' => 1594721458
]
2020-07-14 10:12:43 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:12:43 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:12:43 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:12:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:12:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:12:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:12:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:12:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:12:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:12:43 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49402'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721563.211
    'REQUEST_TIME' => 1594721563
]
2020-07-14 10:13:01 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:01 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:01 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:01 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49438'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721581.615
    'REQUEST_TIME' => 1594721581
]
2020-07-14 10:13:02 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:02 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:02 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:02 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:02 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:02 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:02 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:02 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:02 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:02 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49464'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721582.44
    'REQUEST_TIME' => 1594721582
]
2020-07-14 10:13:07 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:07 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:13:07 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:13:07 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:13:07 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:13:07 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:13:07 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:13:07 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:13:07 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:13:07 [::1][-][-][info][application] $_GET = [
    'r' => 'site/pt'
]

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49492'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => 'r=site%2Fpt'
    'REQUEST_URI' => '/index.php?r=site%2Fpt'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721587.894
    'REQUEST_TIME' => 1594721587
]
2020-07-14 10:13:24 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:24 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:24 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:24 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:24 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:24 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:24 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:24 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:24 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:24 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Fpt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49536'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721604.181
    'REQUEST_TIME' => 1594721604
]
2020-07-14 10:13:25 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:25 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:25 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:25 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:25 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:25 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:25 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:25 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:25 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:13:25 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php?r=site%2Fpt'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49562'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721605.409
    'REQUEST_TIME' => 1594721605
]
2020-07-14 10:13:30 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:30 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 10:13:30 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 10:13:30 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 10:13:30 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 10:13:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 10:13:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 10:13:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 10:13:30 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 10:13:30 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/fr'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/fr'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/fr'
    'PHP_SELF' => '/index.php/site/fr'
    'REQUEST_TIME_FLOAT' => 1594721610.007
    'REQUEST_TIME' => 1594721610
]
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721610.13
    'REQUEST_TIME' => 1594721610
]
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49596'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721610.13
    'REQUEST_TIME' => 1594721610
]
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49598'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721610.13
    'REQUEST_TIME' => 1594721610
]
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49598'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721610.211
    'REQUEST_TIME' => 1594721610
]
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721610.21
    'REQUEST_TIME' => 1594721610
]
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721610.224
    'REQUEST_TIME' => 1594721610
]
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49596'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721610.229
    'REQUEST_TIME' => 1594721610
]
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721610.392
    'REQUEST_TIME' => 1594721610
]
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/favicon.ico". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/favicon.ico'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/favicon.ico'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/favicon.ico'
    'PHP_SELF' => '/index.php/site/img/favicon.ico'
    'REQUEST_TIME_FLOAT' => 1594721610.404
    'REQUEST_TIME' => 1594721610
]
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721610.537
    'REQUEST_TIME' => 1594721610
]
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49596'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721610.537
    'REQUEST_TIME' => 1594721610
]
2020-07-14 10:13:31 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:31 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:31 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721611.975
    'REQUEST_TIME' => 1594721611
]
2020-07-14 10:13:31 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:31 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:31 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49596'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721611.976
    'REQUEST_TIME' => 1594721611
]
2020-07-14 10:13:31 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:31 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:31 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721611.992
    'REQUEST_TIME' => 1594721611
]
2020-07-14 10:13:31 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:31 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49756'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721611.992
    'REQUEST_TIME' => 1594721611
]
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721612.007
    'REQUEST_TIME' => 1594721612
]
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49782'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721612.009
    'REQUEST_TIME' => 1594721612
]
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721612.025
    'REQUEST_TIME' => 1594721612
]
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49782'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721612.025
    'REQUEST_TIME' => 1594721612
]
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721612.042
    'REQUEST_TIME' => 1594721612
]
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49812'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721612.042
    'REQUEST_TIME' => 1594721612
]
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721612.058
    'REQUEST_TIME' => 1594721612
]
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49830'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721612.058
    'REQUEST_TIME' => 1594721612
]
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49830'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721612.075
    'REQUEST_TIME' => 1594721612
]
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:32 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721612.075
    'REQUEST_TIME' => 1594721612
]
2020-07-14 10:13:33 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:33 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:13:33 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:13:33 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:13:33 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:13:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:13:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:13:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:13:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:13:33 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/en'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/en'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/en'
    'PHP_SELF' => '/index.php/site/en'
    'REQUEST_TIME_FLOAT' => 1594721613.343
    'REQUEST_TIME' => 1594721613
]
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721613.415
    'REQUEST_TIME' => 1594721613
]
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49830'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721613.415
    'REQUEST_TIME' => 1594721613
]
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49888'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721613.416
    'REQUEST_TIME' => 1594721613
]
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49592'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721613.514
    'REQUEST_TIME' => 1594721613
]
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49830'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721613.521
    'REQUEST_TIME' => 1594721613
]
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49888'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721613.535
    'REQUEST_TIME' => 1594721613
]
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49830'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721613.573
    'REQUEST_TIME' => 1594721613
]
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49888'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721613.692
    'REQUEST_TIME' => 1594721613
]
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49888'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721613.836
    'REQUEST_TIME' => 1594721613
]
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49830'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721613.836
    'REQUEST_TIME' => 1594721613
]
2020-07-14 10:13:41 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:41 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:13:41 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:13:41 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:13:41 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:13:41 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:13:41 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:13:41 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:13:41 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:13:41 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49970'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/en'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/en'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/en'
    'PHP_SELF' => '/index.php/site/en'
    'REQUEST_TIME_FLOAT' => 1594721621.782
    'REQUEST_TIME' => 1594721621
]
2020-07-14 10:13:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49996'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721621.945
    'REQUEST_TIME' => 1594721621
]
2020-07-14 10:13:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50002'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721621.945
    'REQUEST_TIME' => 1594721621
]
2020-07-14 10:13:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50000'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721621.953
    'REQUEST_TIME' => 1594721621
]
2020-07-14 10:13:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49998'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721621.991
    'REQUEST_TIME' => 1594721621
]
2020-07-14 10:13:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49970'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721621.991
    'REQUEST_TIME' => 1594721621
]
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49970'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721622.009
    'REQUEST_TIME' => 1594721622
]
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49998'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721622.025
    'REQUEST_TIME' => 1594721622
]
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49998'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721622.181
    'REQUEST_TIME' => 1594721622
]
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49998'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721622.305
    'REQUEST_TIME' => 1594721622
]
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49996'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721622.305
    'REQUEST_TIME' => 1594721622
]
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49998'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721622.929
    'REQUEST_TIME' => 1594721622
]
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '49996'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721622.929
    'REQUEST_TIME' => 1594721622
]
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50004'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721622.947
    'REQUEST_TIME' => 1594721622
]
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50000'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721622.947
    'REQUEST_TIME' => 1594721622
]
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50004'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721622.963
    'REQUEST_TIME' => 1594721622
]
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50000'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721622.964
    'REQUEST_TIME' => 1594721622
]
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50002'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721622.978
    'REQUEST_TIME' => 1594721622
]
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50134'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721622.978
    'REQUEST_TIME' => 1594721622
]
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50002'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721622.993
    'REQUEST_TIME' => 1594721622
]
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50152'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721622.994
    'REQUEST_TIME' => 1594721622
]
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50172'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721623.011
    'REQUEST_TIME' => 1594721623
]
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50170'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721623.011
    'REQUEST_TIME' => 1594721623
]
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50172'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721623.028
    'REQUEST_TIME' => 1594721623
]
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50194'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721623.028
    'REQUEST_TIME' => 1594721623
]
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50172'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721623.043
    'REQUEST_TIME' => 1594721623
]
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50216'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721623.045
    'REQUEST_TIME' => 1594721623
]
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50172'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721623.061
    'REQUEST_TIME' => 1594721623
]
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50230'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721623.062
    'REQUEST_TIME' => 1594721623
]
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50172'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721623.076
    'REQUEST_TIME' => 1594721623
]
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50248'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721623.076
    'REQUEST_TIME' => 1594721623
]
2020-07-14 10:13:57 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Request.php:287
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(82): yii\web\Request->resolve()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}
2020-07-14 10:13:57 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:57 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50268'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/en'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/en'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/en'
    'PHP_SELF' => '/index.php/site/en'
    'REQUEST_TIME_FLOAT' => 1594721637.754
    'REQUEST_TIME' => 1594721637
]
2020-07-14 10:13:59 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Request.php:287
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(82): yii\web\Request->resolve()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}
2020-07-14 10:13:59 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:13:59 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50268'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/en'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/en'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/en'
    'PHP_SELF' => '/index.php/site/en'
    'REQUEST_TIME_FLOAT' => 1594721639.256
    'REQUEST_TIME' => 1594721639
]
2020-07-14 10:14:03 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Request.php:287
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(82): yii\web\Request->resolve()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}
2020-07-14 10:14:03 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:03 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50294'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/en'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/en'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/en'
    'PHP_SELF' => '/index.php/site/en'
    'REQUEST_TIME_FLOAT' => 1594721643.325
    'REQUEST_TIME' => 1594721643
]
2020-07-14 10:14:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Request.php:287
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(82): yii\web\Request->resolve()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}
2020-07-14 10:14:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50294'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721646.548
    'REQUEST_TIME' => 1594721646
]
2020-07-14 10:14:11 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:11 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:11 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:11 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:11 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:11 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:11 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:11 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:11 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:11 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50294'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721651.247
    'REQUEST_TIME' => 1594721651
]
2020-07-14 10:14:20 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:20 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:20 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:20 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:20 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:20 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50362'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721660.686
    'REQUEST_TIME' => 1594721660
]
2020-07-14 10:14:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request: site/it in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php:128
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#3 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#4 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50390'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/it'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/it'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/it'
    'PHP_SELF' => '/index.php/site/it'
    'REQUEST_TIME_FLOAT' => 1594721664.288
    'REQUEST_TIME' => 1594721664
]
2020-07-14 10:14:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request: site/it in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php:128
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#3 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#4 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:30 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50400'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/it'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/it'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/it'
    'PHP_SELF' => '/index.php/site/it'
    'REQUEST_TIME_FLOAT' => 1594721670.352
    'REQUEST_TIME' => 1594721670
]
2020-07-14 10:14:35 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:35 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:35 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:35 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:35 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:35 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:35 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:35 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:35 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:14:35 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50422'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721675.592
    'REQUEST_TIME' => 1594721675
]
2020-07-14 10:14:39 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:39 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:189
2020-07-14 10:14:39 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:189
2020-07-14 10:14:39 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:189
2020-07-14 10:14:39 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:189
2020-07-14 10:14:39 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:189
2020-07-14 10:14:39 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:189
2020-07-14 10:14:39 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:189
2020-07-14 10:14:39 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:189
2020-07-14 10:14:39 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50452'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/de'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/de'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/de'
    'PHP_SELF' => '/index.php/site/de'
    'REQUEST_TIME_FLOAT' => 1594721679.688
    'REQUEST_TIME' => 1594721679
]
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50452'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721679.787
    'REQUEST_TIME' => 1594721679
]
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50478'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721679.788
    'REQUEST_TIME' => 1594721679
]
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50480'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721679.788
    'REQUEST_TIME' => 1594721679
]
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50478'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721679.875
    'REQUEST_TIME' => 1594721679
]
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50452'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721679.875
    'REQUEST_TIME' => 1594721679
]
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50452'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721679.885
    'REQUEST_TIME' => 1594721679
]
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50452'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721679.898
    'REQUEST_TIME' => 1594721679
]
2020-07-14 10:14:40 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:40 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:40 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50452'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721680.027
    'REQUEST_TIME' => 1594721680
]
2020-07-14 10:14:40 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:40 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:40 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50478'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721680.156
    'REQUEST_TIME' => 1594721680
]
2020-07-14 10:14:40 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:40 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:40 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50452'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721680.156
    'REQUEST_TIME' => 1594721680
]
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50478'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721681.391
    'REQUEST_TIME' => 1594721681
]
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50452'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721681.39
    'REQUEST_TIME' => 1594721681
]
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50584'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721681.409
    'REQUEST_TIME' => 1594721681
]
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50582'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721681.408
    'REQUEST_TIME' => 1594721681
]
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50606'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721681.427
    'REQUEST_TIME' => 1594721681
]
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50584'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721681.426
    'REQUEST_TIME' => 1594721681
]
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50624'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721681.438
    'REQUEST_TIME' => 1594721681
]
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50634'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721681.445
    'REQUEST_TIME' => 1594721681
]
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50624'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721681.488
    'REQUEST_TIME' => 1594721681
]
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50634'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721681.488
    'REQUEST_TIME' => 1594721681
]
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50624'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721681.504
    'REQUEST_TIME' => 1594721681
]
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50634'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721681.504
    'REQUEST_TIME' => 1594721681
]
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50624'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721681.521
    'REQUEST_TIME' => 1594721681
]
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50676'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721681.521
    'REQUEST_TIME' => 1594721681
]
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50624'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721681.537
    'REQUEST_TIME' => 1594721681
]
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50676'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721681.537
    'REQUEST_TIME' => 1594721681
]
2020-07-14 10:14:43 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:43 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:14:43 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:14:43 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:14:43 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:14:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:14:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:14:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:14:43 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:14:43 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50624'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/es'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/es'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/es'
    'PHP_SELF' => '/index.php/site/es'
    'REQUEST_TIME_FLOAT' => 1594721683.353
    'REQUEST_TIME' => 1594721683
]
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50676'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721683.427
    'REQUEST_TIME' => 1594721683
]
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50624'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721683.427
    'REQUEST_TIME' => 1594721683
]
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50736'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721683.428
    'REQUEST_TIME' => 1594721683
]
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50624'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721683.518
    'REQUEST_TIME' => 1594721683
]
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50676'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721683.518
    'REQUEST_TIME' => 1594721683
]
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50736'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721683.522
    'REQUEST_TIME' => 1594721683
]
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50676'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721683.534
    'REQUEST_TIME' => 1594721683
]
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50676'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721683.667
    'REQUEST_TIME' => 1594721683
]
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50676'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721683.816
    'REQUEST_TIME' => 1594721683
]
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:43 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50736'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721683.816
    'REQUEST_TIME' => 1594721683
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50676'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721684.406
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50736'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721684.407
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50834'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721684.425
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50676'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721684.424
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50676'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721684.449
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50834'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721684.45
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50874'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721684.463
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50872'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721684.463
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50896'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721684.475
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50898'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721684.476
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50916'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721684.488
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50918'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721684.488
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50918'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721684.507
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50916'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721684.507
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50952'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721684.524
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50918'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721684.524
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50952'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721684.541
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50970'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721684.542
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50994'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721684.557
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50992'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721684.557
    'REQUEST_TIME' => 1594721684
]
2020-07-14 10:14:46 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request: site/it in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Controller.php:128
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#2 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#3 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#4 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:14:46 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:14:46 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '50994'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/it'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/it'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/it'
    'PHP_SELF' => '/index.php/site/it'
    'REQUEST_TIME_FLOAT' => 1594721686.554
    'REQUEST_TIME' => 1594721686
]
2020-07-14 10:15:13 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:13 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:15:13 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:15:13 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:15:13 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:15:13 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:15:13 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:15:13 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:15:13 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:15:13 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51024'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/it'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/it'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/it'
    'PHP_SELF' => '/index.php/site/it'
    'REQUEST_TIME_FLOAT' => 1594721713.085
    'REQUEST_TIME' => 1594721713
]
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51050'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721713.175
    'REQUEST_TIME' => 1594721713
]
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51058'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721713.185
    'REQUEST_TIME' => 1594721713
]
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51056'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721713.185
    'REQUEST_TIME' => 1594721713
]
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51052'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721713.322
    'REQUEST_TIME' => 1594721713
]
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51054'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721713.322
    'REQUEST_TIME' => 1594721713
]
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51052'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721713.344
    'REQUEST_TIME' => 1594721713
]
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51050'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721713.349
    'REQUEST_TIME' => 1594721713
]
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51052'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721713.51
    'REQUEST_TIME' => 1594721713
]
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51050'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721713.677
    'REQUEST_TIME' => 1594721713
]
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:13 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51052'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721713.677
    'REQUEST_TIME' => 1594721713
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51050'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721715.419
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51052'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721715.419
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51050'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721715.438
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51052'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721715.438
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51052'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721715.459
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51050'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721715.459
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51056'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721715.476
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51024'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721715.476
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51058'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721715.493
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51226'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721715.494
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51244'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721715.507
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51250'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721715.509
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51264'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721715.523
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51266'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721715.523
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51266'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721715.553
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51264'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721715.553
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51304'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721715.571
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:15 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_CACHE_CONTROL' => 'max-age=0'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51266'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721715.571
    'REQUEST_TIME' => 1594721715
]
2020-07-14 10:15:16 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:16 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:15:16 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:15:16 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:15:16 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:15:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:15:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:15:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:15:16 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:15:16 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51304'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/en'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/en'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/en'
    'PHP_SELF' => '/index.php/site/en'
    'REQUEST_TIME_FLOAT' => 1594721716.786
    'REQUEST_TIME' => 1594721716
]
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51266'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721716.853
    'REQUEST_TIME' => 1594721716
]
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51304'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721716.853
    'REQUEST_TIME' => 1594721716
]
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51346'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721716.854
    'REQUEST_TIME' => 1594721716
]
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51304'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721716.955
    'REQUEST_TIME' => 1594721716
]
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51266'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721716.955
    'REQUEST_TIME' => 1594721716
]
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51304'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721716.97
    'REQUEST_TIME' => 1594721716
]
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:16 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51266'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721716.973
    'REQUEST_TIME' => 1594721716
]
2020-07-14 10:15:17 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:17 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:17 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51304'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721717.12
    'REQUEST_TIME' => 1594721717
]
2020-07-14 10:15:17 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:17 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:17 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51304'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721717.254
    'REQUEST_TIME' => 1594721717
]
2020-07-14 10:15:17 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:17 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:17 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51266'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721717.254
    'REQUEST_TIME' => 1594721717
]
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51304'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721718.007
    'REQUEST_TIME' => 1594721718
]
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51266'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721718.01
    'REQUEST_TIME' => 1594721718
]
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51444'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721718.026
    'REQUEST_TIME' => 1594721718
]
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51450'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721718.029
    'REQUEST_TIME' => 1594721718
]
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51444'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721718.086
    'REQUEST_TIME' => 1594721718
]
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51450'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721718.088
    'REQUEST_TIME' => 1594721718
]
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51480'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721718.184
    'REQUEST_TIME' => 1594721718
]
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:18 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51482'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721718.184
    'REQUEST_TIME' => 1594721718
]
2020-07-14 10:15:20 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:20 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:15:20 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:15:20 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:15:20 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:15:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:15:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:15:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:15:20 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:15:20 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51480'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/pt'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/pt'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/pt'
    'PHP_SELF' => '/index.php/site/pt'
    'REQUEST_TIME_FLOAT' => 1594721720.674
    'REQUEST_TIME' => 1594721720
]
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51482'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721720.755
    'REQUEST_TIME' => 1594721720
]
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51480'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721720.755
    'REQUEST_TIME' => 1594721720
]
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51532'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721720.758
    'REQUEST_TIME' => 1594721720
]
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51532'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721720.868
    'REQUEST_TIME' => 1594721720
]
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51480'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721720.868
    'REQUEST_TIME' => 1594721720
]
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51482'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721720.868
    'REQUEST_TIME' => 1594721720
]
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:20 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51480'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721720.883
    'REQUEST_TIME' => 1594721720
]
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51480'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721721.01
    'REQUEST_TIME' => 1594721721
]
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51482'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721721.16
    'REQUEST_TIME' => 1594721721
]
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51480'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721721.159
    'REQUEST_TIME' => 1594721721
]
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51480'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721721.966
    'REQUEST_TIME' => 1594721721
]
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51482'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721721.967
    'REQUEST_TIME' => 1594721721
]
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51630'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721721.976
    'REQUEST_TIME' => 1594721721
]
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51636'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721721.979
    'REQUEST_TIME' => 1594721721
]
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51650'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721721.993
    'REQUEST_TIME' => 1594721721
]
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:21 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51630'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721721.993
    'REQUEST_TIME' => 1594721721
]
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51670'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721722.008
    'REQUEST_TIME' => 1594721722
]
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51668'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721722.007
    'REQUEST_TIME' => 1594721722
]
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51670'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721722.022
    'REQUEST_TIME' => 1594721722
]
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51692'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721722.022
    'REQUEST_TIME' => 1594721722
]
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51710'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721722.039
    'REQUEST_TIME' => 1594721722
]
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51670'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721722.039
    'REQUEST_TIME' => 1594721722
]
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51710'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721722.054
    'REQUEST_TIME' => 1594721722
]
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51728'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721722.055
    'REQUEST_TIME' => 1594721722
]
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721722.073
    'REQUEST_TIME' => 1594721722
]
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51710'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721722.071
    'REQUEST_TIME' => 1594721722
]
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721722.091
    'REQUEST_TIME' => 1594721722
]
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:22 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51768'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721722.091
    'REQUEST_TIME' => 1594721722
]
2020-07-14 10:15:23 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:23 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:15:23 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:15:23 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:15:23 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:15:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:15:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:15:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:15:23 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:15:23 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/es'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/es'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/es'
    'PHP_SELF' => '/index.php/site/es'
    'REQUEST_TIME_FLOAT' => 1594721723.387
    'REQUEST_TIME' => 1594721723
]
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51768'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721723.467
    'REQUEST_TIME' => 1594721723
]
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721723.467
    'REQUEST_TIME' => 1594721723
]
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51810'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721723.467
    'REQUEST_TIME' => 1594721723
]
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51768'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721723.555
    'REQUEST_TIME' => 1594721723
]
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721723.555
    'REQUEST_TIME' => 1594721723
]
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721723.568
    'REQUEST_TIME' => 1594721723
]
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51768'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721723.571
    'REQUEST_TIME' => 1594721723
]
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721723.7
    'REQUEST_TIME' => 1594721723
]
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721723.844
    'REQUEST_TIME' => 1594721723
]
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:23 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51768'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721723.844
    'REQUEST_TIME' => 1594721723
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721724.673
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51768'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721724.674
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721724.691
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51914'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721724.691
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721724.707
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51936'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721724.709
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721724.723
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51950'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721724.724
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721724.738
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51972'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721724.74
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51986'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721724.755
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721724.755
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721724.771
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51986'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721724.771
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721724.788
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51986'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721724.788
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51986'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721724.806
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51750'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721724.805
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51986'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721724.82
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:24 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52060'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721724.82
    'REQUEST_TIME' => 1594721724
]
2020-07-14 10:15:26 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:26 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:189
2020-07-14 10:15:26 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:189
2020-07-14 10:15:26 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:189
2020-07-14 10:15:26 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:189
2020-07-14 10:15:26 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:189
2020-07-14 10:15:26 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:189
2020-07-14 10:15:26 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:189
2020-07-14 10:15:26 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:189
2020-07-14 10:15:26 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51986'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/de'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/de'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/de'
    'PHP_SELF' => '/index.php/site/de'
    'REQUEST_TIME_FLOAT' => 1594721726.202
    'REQUEST_TIME' => 1594721726
]
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51986'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721726.305
    'REQUEST_TIME' => 1594721726
]
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52102'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721726.306
    'REQUEST_TIME' => 1594721726
]
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52060'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721726.305
    'REQUEST_TIME' => 1594721726
]
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52102'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721726.418
    'REQUEST_TIME' => 1594721726
]
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51986'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721726.417
    'REQUEST_TIME' => 1594721726
]
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51986'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721726.434
    'REQUEST_TIME' => 1594721726
]
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51986'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721726.466
    'REQUEST_TIME' => 1594721726
]
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51986'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721726.591
    'REQUEST_TIME' => 1594721726
]
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51986'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721726.723
    'REQUEST_TIME' => 1594721726
]
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:26 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52102'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721726.723
    'REQUEST_TIME' => 1594721726
]
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51986'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721727.427
    'REQUEST_TIME' => 1594721727
]
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52102'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721727.427
    'REQUEST_TIME' => 1594721727
]
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52208'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721727.442
    'REQUEST_TIME' => 1594721727
]
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '51986'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721727.442
    'REQUEST_TIME' => 1594721727
]
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52226'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721727.457
    'REQUEST_TIME' => 1594721727
]
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52208'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721727.456
    'REQUEST_TIME' => 1594721727
]
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52244'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721727.474
    'REQUEST_TIME' => 1594721727
]
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52226'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721727.474
    'REQUEST_TIME' => 1594721727
]
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52244'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721727.522
    'REQUEST_TIME' => 1594721727
]
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52264'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721727.523
    'REQUEST_TIME' => 1594721727
]
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52264'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721727.539
    'REQUEST_TIME' => 1594721727
]
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52244'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721727.539
    'REQUEST_TIME' => 1594721727
]
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52264'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721727.555
    'REQUEST_TIME' => 1594721727
]
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52302'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721727.555
    'REQUEST_TIME' => 1594721727
]
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52302'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721727.571
    'REQUEST_TIME' => 1594721727
]
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:27 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'de'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52264'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721727.571
    'REQUEST_TIME' => 1594721727
]
2020-07-14 10:15:33 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:33 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 10:15:33 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 10:15:33 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 10:15:33 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 10:15:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 10:15:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 10:15:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 10:15:33 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:174
2020-07-14 10:15:28 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/de'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52302'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/fr'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/fr'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/fr'
    'PHP_SELF' => '/index.php/site/fr'
    'REQUEST_TIME_FLOAT' => 1594721728.955
    'REQUEST_TIME' => 1594721728
]
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52302'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721733.869
    'REQUEST_TIME' => 1594721733
]
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52370'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721733.87
    'REQUEST_TIME' => 1594721733
]
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52368'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721733.869
    'REQUEST_TIME' => 1594721733
]
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52302'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721733.975
    'REQUEST_TIME' => 1594721733
]
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52370'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721733.975
    'REQUEST_TIME' => 1594721733
]
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:33 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52302'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721733.986
    'REQUEST_TIME' => 1594721733
]
2020-07-14 10:15:34 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:34 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:34 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52302'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721734.002
    'REQUEST_TIME' => 1594721734
]
2020-07-14 10:15:34 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:34 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:34 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52302'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721734.093
    'REQUEST_TIME' => 1594721734
]
2020-07-14 10:15:34 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:34 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:34 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52370'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721734.206
    'REQUEST_TIME' => 1594721734
]
2020-07-14 10:15:34 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:34 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:34 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52302'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721734.206
    'REQUEST_TIME' => 1594721734
]
2020-07-14 10:15:37 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:37 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52370'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721737.299
    'REQUEST_TIME' => 1594721737
]
2020-07-14 10:15:37 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:37 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52480'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721737.318
    'REQUEST_TIME' => 1594721737
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:38 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52544'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721738.581
    'REQUEST_TIME' => 1594721738
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:37 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52302'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721737.298
    'REQUEST_TIME' => 1594721737
]
2020-07-14 10:15:37 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:37 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52512'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721737.367
    'REQUEST_TIME' => 1594721737
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:37 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52496'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721737.33
    'REQUEST_TIME' => 1594721737
]
2020-07-14 10:15:37 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:37 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52494'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721737.329
    'REQUEST_TIME' => 1594721737
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'fr'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52546'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721739.585
    'REQUEST_TIME' => 1594721739
]
2020-07-14 10:15:41 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:41 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:15:41 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:15:41 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:15:41 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:15:41 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:15:41 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:15:41 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:15:41 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:129
2020-07-14 10:15:40 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52570'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/en'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/en'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/en'
    'PHP_SELF' => '/index.php/site/en'
    'REQUEST_TIME_FLOAT' => 1594721740.593
    'REQUEST_TIME' => 1594721740
]
2020-07-14 10:15:40 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:40 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52552'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721740.592
    'REQUEST_TIME' => 1594721740
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:40 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52550'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721740.59
    'REQUEST_TIME' => 1594721740
]
2020-07-14 10:15:37 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:37 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52528'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721737.378
    'REQUEST_TIME' => 1594721737
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:37 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52510'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721737.366
    'REQUEST_TIME' => 1594721737
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:37 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52478'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721737.317
    'REQUEST_TIME' => 1594721737
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:39 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52548'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721739.586
    'REQUEST_TIME' => 1594721739
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:37 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52542'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721737.577
    'REQUEST_TIME' => 1594721737
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:37 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/fr'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52526'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721737.377
    'REQUEST_TIME' => 1594721737
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52570'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721741.585
    'REQUEST_TIME' => 1594721741
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52654'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721741.586
    'REQUEST_TIME' => 1594721741
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52652'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721741.585
    'REQUEST_TIME' => 1594721741
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52654'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721741.688
    'REQUEST_TIME' => 1594721741
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52570'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721741.688
    'REQUEST_TIME' => 1594721741
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52652'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721741.693
    'REQUEST_TIME' => 1594721741
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52654'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721741.706
    'REQUEST_TIME' => 1594721741
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52652'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721741.787
    'REQUEST_TIME' => 1594721741
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52654'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721741.932
    'REQUEST_TIME' => 1594721741
]
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:41 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52652'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721741.932
    'REQUEST_TIME' => 1594721741
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52654'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721742.542
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52652'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721742.543
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52760'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721742.557
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52758'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721742.557
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52758'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721742.576
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52760'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721742.575
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52800'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721742.589
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52798'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721742.589
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52798'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721742.608
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52800'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721742.608
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52842'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721742.624
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52798'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721742.623
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52842'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721742.638
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52860'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721742.639
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52842'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721742.655
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52878'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721742.656
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52878'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721742.673
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52842'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721742.672
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52878'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721742.688
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:42 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'en'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52916'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721742.688
    'REQUEST_TIME' => 1594721742
]
2020-07-14 10:15:44 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:44 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:15:44 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:15:44 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:15:44 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:15:44 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:15:44 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:15:44 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:15:44 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:15:44 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/en'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52878'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/it'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/it'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/it'
    'PHP_SELF' => '/index.php/site/it'
    'REQUEST_TIME_FLOAT' => 1594721744.37
    'REQUEST_TIME' => 1594721744
]
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52916'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721744.453
    'REQUEST_TIME' => 1594721744
]
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52878'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721744.453
    'REQUEST_TIME' => 1594721744
]
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52964'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721744.454
    'REQUEST_TIME' => 1594721744
]
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52916'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721744.539
    'REQUEST_TIME' => 1594721744
]
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52878'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721744.539
    'REQUEST_TIME' => 1594721744
]
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52964'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721744.544
    'REQUEST_TIME' => 1594721744
]
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52916'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721744.556
    'REQUEST_TIME' => 1594721744
]
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52916'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721744.635
    'REQUEST_TIME' => 1594721744
]
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52916'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721744.776
    'REQUEST_TIME' => 1594721744
]
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:44 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52964'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721744.776
    'REQUEST_TIME' => 1594721744
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52964'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721745.293
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52916'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721745.293
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53078'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721745.308
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '52964'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721745.307
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53078'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721745.324
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53096'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721745.324
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53118'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721745.339
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53120'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721745.34
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53118'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721745.356
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53138'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721745.357
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53156'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721745.374
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53118'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721745.373
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53156'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721745.389
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53178'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721745.39
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53156'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721745.41
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53178'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721745.41
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53212'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721745.423
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53214'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721745.423
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53212'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721745.438
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:45 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53240'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721745.439
    'REQUEST_TIME' => 1594721745
]
2020-07-14 10:15:52 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:52 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:15:52 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:15:52 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:15:52 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:15:52 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:15:52 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:15:52 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:15:52 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
2020-07-14 10:15:52 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53270'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php'
    'SCRIPT_NAME' => '/index.php'
    'PHP_SELF' => '/index.php'
    'REQUEST_TIME_FLOAT' => 1594721752.503
    'REQUEST_TIME' => 1594721752
]
2020-07-14 10:15:56 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:56 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:15:56 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:15:56 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:15:56 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:15:56 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:15:56 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:15:56 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:15:56 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:159
2020-07-14 10:15:56 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53296'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/es'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/es'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/es'
    'PHP_SELF' => '/index.php/site/es'
    'REQUEST_TIME_FLOAT' => 1594721756.77
    'REQUEST_TIME' => 1594721756
]
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53326'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721756.845
    'REQUEST_TIME' => 1594721756
]
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53328'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721756.845
    'REQUEST_TIME' => 1594721756
]
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53296'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721756.845
    'REQUEST_TIME' => 1594721756
]
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53296'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721756.952
    'REQUEST_TIME' => 1594721756
]
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53326'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721756.953
    'REQUEST_TIME' => 1594721756
]
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53328'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721756.965
    'REQUEST_TIME' => 1594721756
]
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:56 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53326'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721756.994
    'REQUEST_TIME' => 1594721756
]
2020-07-14 10:15:57 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:57 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:57 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53328'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721757.059
    'REQUEST_TIME' => 1594721757
]
2020-07-14 10:15:57 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:57 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:57 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53328'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721757.189
    'REQUEST_TIME' => 1594721757
]
2020-07-14 10:15:57 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:15:57 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:15:57 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53326'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721757.189
    'REQUEST_TIME' => 1594721757
]
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53326'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721760.401
    'REQUEST_TIME' => 1594721760
]
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53328'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721760.4
    'REQUEST_TIME' => 1594721760
]
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53434'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721760.425
    'REQUEST_TIME' => 1594721760
]
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53436'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721760.425
    'REQUEST_TIME' => 1594721760
]
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53434'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721760.442
    'REQUEST_TIME' => 1594721760
]
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53458'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721760.443
    'REQUEST_TIME' => 1594721760
]
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53434'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721760.477
    'REQUEST_TIME' => 1594721760
]
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53458'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721760.479
    'REQUEST_TIME' => 1594721760
]
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53494'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721760.491
    'REQUEST_TIME' => 1594721760
]
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53492'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721760.49
    'REQUEST_TIME' => 1594721760
]
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53494'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721760.528
    'REQUEST_TIME' => 1594721760
]
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53492'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721760.529
    'REQUEST_TIME' => 1594721760
]
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53530'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721760.543
    'REQUEST_TIME' => 1594721760
]
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:00 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'es'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53528'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721760.543
    'REQUEST_TIME' => 1594721760
]
2020-07-14 10:16:01 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:01 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:16:01 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:16:01 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:16:01 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:16:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:16:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:16:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:16:01 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:144
2020-07-14 10:16:01 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/es'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53530'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/pt'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/pt'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/pt'
    'PHP_SELF' => '/index.php/site/pt'
    'REQUEST_TIME_FLOAT' => 1594721761.87
    'REQUEST_TIME' => 1594721761
]
2020-07-14 10:16:01 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:01 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:01 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53576'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721761.946
    'REQUEST_TIME' => 1594721761
]
2020-07-14 10:16:01 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:01 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:01 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53530'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721761.946
    'REQUEST_TIME' => 1594721761
]
2020-07-14 10:16:01 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:01 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:01 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53528'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721761.946
    'REQUEST_TIME' => 1594721761
]
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53528'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721762.039
    'REQUEST_TIME' => 1594721762
]
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53530'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721762.038
    'REQUEST_TIME' => 1594721762
]
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53576'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721762.043
    'REQUEST_TIME' => 1594721762
]
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53528'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721762.059
    'REQUEST_TIME' => 1594721762
]
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53528'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721762.141
    'REQUEST_TIME' => 1594721762
]
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53528'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark.png'
    'REQUEST_TIME_FLOAT' => 1594721762.29
    'REQUEST_TIME' => 1594721762
]
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda-dark@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:02 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53576'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda-dark@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda-dark@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda-dark@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721762.29
    'REQUEST_TIME' => 1594721762
]
2020-07-14 10:16:04 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:04 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:04 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53576'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721764.464
    'REQUEST_TIME' => 1594721764
]
2020-07-14 10:16:04 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:04 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:04 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'pt'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53528'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721764.464
    'REQUEST_TIME' => 1594721764
]
2020-07-14 10:16:06 [::1][-][-][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:06 [::1][-][-][info][yii\db\Connection::open] Opening DB connection: mysql:host=localhost:3306;dbname=dpo_portal
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:16:06 [::1][-][-][info][yii\db\Command::query] SELECT COUNT(*) FROM `productversion` WHERE `active`=TRUE
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:16:06 [::1][-][-][info][yii\db\Command::query] SHOW FULL COLUMNS FROM `productversion`
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:16:06 [::1][-][-][info][yii\db\Command::query] SELECT
    kcu.constraint_name,
    kcu.column_name,
    kcu.referenced_table_name,
    kcu.referenced_column_name
FROM information_schema.referential_constraints AS rc
JOIN information_schema.key_column_usage AS kcu ON
    (
        kcu.constraint_catalog = rc.constraint_catalog OR
        (kcu.constraint_catalog IS NULL AND rc.constraint_catalog IS NULL)
    ) AND
    kcu.constraint_schema = rc.constraint_schema AND
    kcu.constraint_name = rc.constraint_name
WHERE rc.constraint_schema = database() AND kcu.table_schema = database()
AND rc.table_name = 'productversion' AND kcu.table_name = 'productversion'
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:16:06 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `active`=TRUE LIMIT 20
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:61
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:16:06 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=1
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:16:06 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=2
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:16:06 [::1][-][-][info][yii\db\Command::query] SELECT * FROM `productversion` WHERE `id`=3
    in /home/fmm/work/dpo/portal/models/ProductversionSearch.php:99
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:115
    in /home/fmm/work/dpo/portal/controllers/SiteController.php:204
2020-07-14 10:16:06 [::1][-][-][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/pt'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'HTTP_UPGRADE_INSECURE_REQUESTS' => '1'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53528'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/it'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/it'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/it'
    'PHP_SELF' => '/index.php/site/it'
    'REQUEST_TIME_FLOAT' => 1594721766.594
    'REQUEST_TIME' => 1594721766
]
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53576'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721766.672
    'REQUEST_TIME' => 1594721766
]
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53528'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721766.671
    'REQUEST_TIME' => 1594721766
]
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53710'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721766.672
    'REQUEST_TIME' => 1594721766
]
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53528'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda.png'
    'REQUEST_TIME_FLOAT' => 1594721766.768
    'REQUEST_TIME' => 1594721766
]
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpoagenda@2x.png". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53576'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpoagenda@2x.png'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpoagenda@2x.png'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpoagenda@2x.png'
    'PHP_SELF' => '/index.php/site/img/dpoagenda@2x.png'
    'REQUEST_TIME_FLOAT' => 1594721766.768
    'REQUEST_TIME' => 1594721766
]
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53528'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721766.782
    'REQUEST_TIME' => 1594721766
]
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'image/webp,*/*'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_ACCEPT_ENCODING' => 'gzip, deflate'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53576'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721766.786
    'REQUEST_TIME' => 1594721766
]
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][error][yii\web\HttpException:404] yii\base\InvalidRouteException: Unable to resolve the request "site/img/dpo-header-720.m4v". in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Module.php:537
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction()
#1 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#2 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#3 {main}

Next yii\web\NotFoundHttpException: Page not found. in /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/web/Application.php:115
Stack trace:
#0 /home/fmm/work/dpo/portal/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest()
#1 /home/fmm/work/dpo/portal/web/index.php(12): yii\base\Application->run()
#2 {main}
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][yii\web\Session::open] Session started
    in /home/fmm/work/dpo/portal/components/ApplicationConfigBehavior.php:114
2020-07-14 10:16:06 [::1][-][4g0bo62t6v82l66gp1bvnfpfbd][info][application] $_GET = []

$_POST = []

$_FILES = []

$_COOKIE = [
    'PHPSESSID' => '4g0bo62t6v82l66gp1bvnfpfbd'
    '_csrf' => 'eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba:2:{i:0;s:5:\"_csrf\";i:1;s:32:\"V1Q21-2P1GylLX7h197q793lSvzmr_pF\";}'
]

$_SESSION = [
    '__flash' => []
    'ApplicationLanguage' => 'it'
]

$_SERVER = [
    'HTTP_AUTHORIZATION' => '***'
    'HTTP_HOST' => 'localhost:8085'
    'HTTP_USER_AGENT' => 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0'
    'HTTP_ACCEPT' => 'video/webm,video/ogg,video/*;q=0.9,application/ogg;q=0.7,audio/*;q=0.6,*/*;q=0.5'
    'HTTP_ACCEPT_LANGUAGE' => 'pt-PT,pt;q=0.8,en;q=0.5,en-US;q=0.3'
    'HTTP_RANGE' => 'bytes=0-'
    'HTTP_DNT' => '1'
    'HTTP_CONNECTION' => 'keep-alive'
    'HTTP_REFERER' => 'http://localhost:8085/index.php/site/it'
    'HTTP_COOKIE' => 'PHPSESSID=4g0bo62t6v82l66gp1bvnfpfbd; _csrf=eb1b601d1e381b4b24d5e43f159a8cae4187cd7eff89710b1d8fa8e7b9a48c0ba%3A2%3A%7Bi%3A0%3Bs%3A5%3A%22_csrf%22%3Bi%3A1%3Bs%3A32%3A%22V1Q21-2P1GylLX7h197q793lSvzmr_pF%22%3B%7D'
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin'
    'SERVER_SIGNATURE' => '<address>Apache/2.4.29 (Ubuntu) Server at localhost Port 8085</address>
'
    'SERVER_SOFTWARE' => 'Apache/2.4.29 (Ubuntu)'
    'SERVER_NAME' => 'localhost'
    'SERVER_ADDR' => '::1'
    'SERVER_PORT' => '8085'
    'REMOTE_ADDR' => '::1'
    'DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'REQUEST_SCHEME' => 'http'
    'CONTEXT_PREFIX' => ''
    'CONTEXT_DOCUMENT_ROOT' => '/home/fmm/work/dpo/portal/web'
    'SERVER_ADMIN' => '[no address given]'
    'SCRIPT_FILENAME' => '/home/fmm/work/dpo/portal/web/index.php'
    'REMOTE_PORT' => '53528'
    'GATEWAY_INTERFACE' => 'CGI/1.1'
    'SERVER_PROTOCOL' => 'HTTP/1.1'
    'REQUEST_METHOD' => 'GET'
    'QUERY_STRING' => ''
    'REQUEST_URI' => '/index.php/site/img/dpo-header-720.m4v'
    'SCRIPT_NAME' => '/index.php'
    'PATH_INFO' => '/site/img/dpo-header-720.m4v'
    'PATH_TRANSLATED' => 'redirect:/home/fmm/work/dpo/index.php/img/dpo-header-720.m4v'
    'PHP_SELF' => '/index.php/site/img/dpo-header-720.m4v'
    'REQUEST_TIME_FLOAT' => 1594721766.869
    'REQUEST_TIME' => 1594721766
]
